Menu

Loading Modal Files (acoutic and language) as Stream instead of passing the location of resource

2014-06-16
2014-06-16
  • Suman Saurabh

    Suman Saurabh - 2014-06-16

    I am building app that provides api for loading jar file of acosutic and language model, my app can provide api for passing modal files as Stream, but Sphnix4 do not provide any such api (i learnt that in irc ). I went through through FastDictionary.java (github.com) file which loads dictionary modal:

    loadDictionary ( wordDictionaryFile.openStream(), false )**; -line 230

    protected void loadDictionary ( InputStream inputStream, boolean isFillerDict )
    {
    /**/
    }

    loads the dictionary as stream.

    Is there an api that I may not be aware of, that could call these function and load the dictionary modal ?

     
  • Alexander Solovets

    There is no such API currently, but we're planning to implement one some day. Stay tuned.

     

Log in to post a comment.

MongoDB Logo MongoDB