Menu

Change dictionary.dic in real time

2018-12-17
2018-12-17
  • Fabiano Luz

    Fabiano Luz - 2018-12-17

    Hi guys, I'm using sphinx 4.5, I would like to know if it is possible to
    change the ".dic" dictionary file in real time.

    Currently, I use this way:
    configuration.setDictionaryPath(path+"file.dic");
    How do I load this file into real time?

    Att

     
    • Nickolay V. Shmyrev

      change the ".dic" dictionary file in real time.

      It is not possible. Use a big dictionary, it does not affect anything.

       
  • Fabiano Luz

    Fabiano Luz - 2018-12-17

    Nickolay V. Shmyrev, when we have a list of likely words, or words from a context, it works out better with fewer words.

     
    • Nickolay V. Shmyrev

      You probably misunderstood the concept of grammar, you have to check our tutorial for details. You can have a big dictionary and a small grammar if you want context.

       
  • Fabiano Luz

    Fabiano Luz - 2018-12-17

    I can set a new grammar in real time?

     

Log in to post a comment.