0

I am able to recognize one keyphrase by adding it in the code. However, I am unable to add multiple keyphrases. Some of the posts mention adding the keyphrases to a file. I am not able to find an example of code where multiple keyphrases are used.

Can someone point me to a post or guide me to get this done? Thanks

Ram

Ram Ramesh
  • 169
  • 1
  • 2
  • 9
  • Example code is provided in the linked question – Nikolay Shmyrev Jan 23 '18 at 10:45
  • Thanks.. In "oh mighty computer /1e-40/", what does /1e-40/ represent? How do I decide what to use for other phrases? Could not find an explanation in CMU documentation. – Ram Ramesh Jan 24 '18 at 14:22
  • Threshold selection process is explained in tutorial http://cmusphinx.github.io/wiki/tutoriallm – Nikolay Shmyrev Jan 24 '18 at 14:50
  • Thanks. I notice Pocketsphinx is only supported on Android. Any chance it will be supported on IOS platforms? – Ram Ramesh Jan 24 '18 at 21:42
  • Google for tlsphinx – Nikolay Shmyrev Jan 25 '18 at 00:08
  • Thanks got that.. In the Android demo, the is KWS_SEARCH set to "wakeup". The KWS_SEARCH is used in switchsearch(). What is the purpose of the "wakeup"? – Ram Ramesh Jan 25 '18 at 03:37
  • The name of the search – Nikolay Shmyrev Jan 25 '18 at 08:01
  • This is my keyphrases file content :help /1e-1/ help me /1e-10/ please help me /1e-60/ oh mighty computer/1e-40/ someone help me /1e-30/ tiger help me /1e-30/ – Ram Ramesh Jan 26 '18 at 01:41
  • I created a myphrases file with 5 lines of keyphrases. Created file descriptor "keyphrases" to use with recognizer.addKeywordSearch (KWS_SEARCH,keyphrases). My KWS_SEARCH = "tiger" and my KEYPHRASE = "tiger help me". I built it and ran, but it is very iffy. SOmetimes it picks up the phrase sometimes not. How do i show the code? It is a simplified version of the demo. – Ram Ramesh Jan 26 '18 at 02:01
  • Here is the list of phrases
    `help /1e-1/ help me /1e-10/ please help me /1e-60/ oh mighty computer/1e-40/ someone help me /1e-30/ tiger help me /1e-30/`
    – Ram Ramesh Jan 26 '18 at 14:52
  • You can test detection properties using audio file. Good audio quality is critical. – Nikolay Shmyrev Jan 26 '18 at 20:10
  • Ok. I made this work by using the digits menu and using my phrases and my key word. For simple phrases it works well. Couple of questions: (1) How can I make this work in the background with home screen locked. I would like to say words without having to touch the phone. (2) The response times s are very random. For the same set of phrases by the same speaker, sometimes they are instantaneous and other times it takes several attempts to respond to keyword/keyphrase? Any way to improve the response? – Ram Ramesh Jan 29 '18 at 19:26

0 Answers0