[SRILM User List] Cache model, ngram server

Andreas Stolcke stolcke at icsi.berkeley.edu
Mon Jun 20 10:18:06 PDT 2011


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