Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Dictionary Words & Phonetics #2

Closed
skibulk opened this issue May 5, 2016 · 4 comments
Closed

Custom Dictionary Words & Phonetics #2

skibulk opened this issue May 5, 2016 · 4 comments

Comments

@skibulk
Copy link

skibulk commented May 5, 2016

Are custom words supported? Can I use Phonetic spelling to enhance speech & speech recognition while using custom words?

@sdkcarlos
Copy link
Owner

As artyom uses speechRecognition API , there's no way to customize the grammar because it is retrieven from the Google Servers. The spelling (a,b,c ) works but for short words. You can open the Console in an artyom demo and see how your spelling is recognized.

Can you provide an example of what do you want to achieve ?

@skibulk
Copy link
Author

skibulk commented May 6, 2016

I wanted to use exotic names, for example: http://www.huffingtonpost.com/2014/10/01/rare-and-unusual-baby-names_n_5888536.html

@skibulk
Copy link
Author

skibulk commented May 6, 2016

I also wanted to improve the the accuracy of difficult words: https://www.vocabulary.com/lists/191545#view=notes

Using Phonetics, For example,
abrogate
ab·ro·gate
ˈabrəˌɡāt/

@sdkcarlos
Copy link
Owner

@skibulk unfortunately artyom is just a wrapper of the webkitSpeechRecognition api and doesn't support such customization. However the google service is very good and recognizes almost everything correctly (obviously something with sense).

Abrogate example

artyom.addCommands({
   indexes:["abrogate"],
   action: function(i){
      // i = 0
      // do something if abrogate
   }
});

Finally, this project JuliusJS seems to help with what you want , see the homepage here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants