watson-developer-cloud / speech-to-text-nodejs

:microphone: Sample Node.js Application for the IBM Watson Speech to Text Service
https://speech-to-text-demo.ng.bluemix.net
Apache License 2.0
1.11k stars 706 forks source link

Recognized Text Formatting #99

Closed Solanine closed 7 years ago

Solanine commented 8 years ago

First, thank you so much for your work.

I have a local node system all setup and working well on a Linux VM. I cant seem to figure out why the recognized text prior to final result is being displayed as one long string. Maybe cause im tired, but it's not clear to me. I would like each word regardless of final result to be displayed separately.

Currently pre final result it looks like this:

Thequickbrownfox

I would like it to display

The quick brown fox

Regardless of whether this gets corrected/changed.

Thanks!

nfriedly commented 8 years ago

Hi Solanine,

That does sound like a problem.. a couple of questions:

You may also want to try out our beta Speech JavaScript SDK, as it's generally easier to work with - https://github.com/watson-developer-cloud/speech-javascript-sdk/releases (there is work in progress to convert this demo to using the SDK)

Solanine commented 8 years ago

Nathan,

Thanks for the fast response. With the exception of changing to a secure server to deal with the getusermedia issue no, I've made no other changes. But it did this prior to using TLS as well. In fact I blew away the whole install and re-built it to make sure it was vanilla.

The demo app works as expected. I'll check out the JS SDK, but I would like to try and get this one running.. any other thoughts? Thanks!

nfriedly commented 8 years ago

That is really strange. Hang on a few minutes. I have a fork with an in-progress update to use the JS SDK, let me try and clean that up and have you test it.

Solanine commented 8 years ago

Just for posterity, here is an image of what it does.... :) s2t_watson

nfriedly commented 8 years ago

Wierd.

It seems that there have been some significant changes since I initially started the JS SDK branch.. this is going to take a bit longer than I had hoped :/

Solanine commented 8 years ago

No rush, appreciate the help..

nfriedly commented 7 years ago

Hey @Solanine,

Sorry this fell off the radar a while back, but we just launched the new version of the demo where this should be fixed. Please re-open if you can still reproduce the issue on the new demo.