evancohen / sonus

:speech_balloon: /so.nus/ STT (speech to text) for Node with offline hotword detection
MIT License
618 stars 79 forks source link

Wrong description: 'speechContext' --> 'speechContexts' #83

Closed MrSponti closed 6 years ago

MrSponti commented 6 years ago

Checking the description on Option: speechContext with the related code in index.js there seems to me an issue, as the code section use the word 'speechContext' with s at the end

speechContexts: options.speechContexts || null

and the description in README use the variable speechContext without s at the end

speechContext - Array of strings containing words/phrases so that the speech recognizer is more likely to recognize
evancohen commented 6 years ago

Thanks for pointing this out! I've updated the docs accordingly