[SRILM User List] Cache model, ngram server

Simon Andersson andersson at disi.unitn.it
Mon Jun 20 11:29:42 PDT 2011


Nickolay Shmyrev reports that he included the feature in Sphinx 4:

http://nsh.nexiwave.com/2009/11/using-srilm-server-in-sphinx4.html

(He also confirmed to me that it is not in PocketSphinx.)

I'll use Nickolay's code as a reference when making a PocketSphinx version.

- Simon


> Simon Andersson wrote:
>>
>> Hello Andreas,
>>
>>
>>
>> I want to use a cache LM (actually, an interpolated LM with a
>> background trigram LM + unigram cache) with PocketSphinx. As far as I
>> can see there is no way to write out the cache LM, but it should be
>> possible to use it by running ngram with the server option.
>>
>>
>>
>> So what I'll do then is...
>>
>>
>>
>> 1) Modify PocketSphinx to connect to the ngram probability server
>> (this feature is available in Sphinx 4 but not in PocketSphinx)
>>
>> 2) Run ngram with the server option
>>
>>
>>
>> Or is there an easier way? I just wanted to check with you that I've
>> understood this correctly and that I'm not doing unnecessary work :-)
>>
> That is exactly what you would need to do.
>
> I didn't know that Sphinx 4 supports the SRILM client/server protocol.
> Can you point us to some documentation ?
>
> Andreas
>



More information about the SRILM-User mailing list