Menu

How separate works of the pocketsphinx

Help
2018-01-30
2018-03-07
  • Miguel Lujan

    Miguel Lujan - 2018-01-30

    Hi everyone!,

    I Create a programm in QT with pocketsphinx to control a drone.....its work, but i have a questions, maybe someone can help me o suggest me something.
    The problem is: How can I recognize and separate the words that the pocketsphinx unterstand?...I mean... for example: if I want the drone to go 20 degrees up, i would say " up 20 degrees", so the word "up" would be the command to the drone understand that he have to go up, and then the "20" would be the number of degrees that he have to go up. And when I say " down 10 degrees", have to be the same, the word "down" if the command to the drone to go down and the "10" would be the quantity of degrees that have to go down.

    But I dont know how can I get and separate the words when is in a complete sentence. Have anyone a idea?

    Thanks :D

     
  • Miguel Lujan

    Miguel Lujan - 2018-02-01

    No one have a Idea??....

     
  • Miguel Lujan

    Miguel Lujan - 2018-02-02

    Thanks for the answer, I think for what I need, would be necessary "Rasa NLU", and I think I unterstand how use it, correct me please if I am wrong.

    First I have to use Pocketshinx to get the Speech to Text, and then the "hyp" use it in the Rasa NLU??...

     
    • Nickolay V. Shmyrev

      Correct

       
  • Miguel Lujan

    Miguel Lujan - 2018-02-14

    Hi!...and sorry for not answer before...(vacations...jejejeje)...

    Looking about a solutions of my problem...I found that use regexp its better...I just have to make the conditions...now come other problem....I created a dictionary, where contain just 4 words and the numbers..from 0 to 180...the problem is: I wrote the numbers and not just the digit...

    Exist a way where I can create a dictionary just with digit???...I mean : write "31" and not "thirty-one"??

    One more time...thanks for the help :D

     
    • Nickolay V. Shmyrev

      It is better to write words into the grammar like "one", "thirty" and wrote the code to convert the text into actual number. This is what rasa is doing for example.

       
  • Miguel Lujan

    Miguel Lujan - 2018-03-07

    Hi again....
    after all these time working on...I found a way to do it, but the accuracy ist very bad =/....
    for that reason...I make it easy...I create a diccionary with just 6 words(I make it with the web-page that appear in the tutorial): "Start, Stop, Up, Down, Left, Right"...but the accuracy still not good >.<....I'm reading the tutorial..but I dont know what would be better to get a better accuracy for a diccionary with just 6 words...
    Can someone guide me how can i get a better accuracy...

    Thanks for the help

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.