What format is your language model in? What software did you use to create
it?

You can try opening the language model using more or cat and then grep for
the particular ngram you're looking for.

Kind regards,

Lee Ball
Infrastructure Manager
lee.b...@appliedlanguage.com

Applied Language Solutions
High quality language solutions delivered on time...with a smile!

www.appliedlanguage.com
Tel (UK): +44 (0)845 367 7000
Tel (US): +1 (800) 579-5010

Riverside Court, Huddersfield Road, Delph, Oldham, OL3 5FZ. UK
Registered in the UK 5122429

Pride in everything we do | Respect everyone like a friend
[image: An Environmentally Friendly Company]Think of the environment; please
don't print this e-mail unless you really need to.

[image: Fast Track 100 2009][image: Queens Award for Business]
<http://twitter.com/appliedlanguage>



On 13 July 2011 13:50, Marc LEGENDRE
<marc.legendr...@etumail.uhp-nancy.fr>wrote:

>
> Hello,
>
> I am trying to use the language models loaded by Moses ;
>
> I am using a 3-gram LM, and I need to know whether it contains a given
> N-gram or not.
> I tried to play around with
> LanguageModelImplementation::GetValueForgotState(...),
> but the boolean 'unknown' in the returned structure does not seem to be
> what I'm looking for.
>
> Is there any simple way of getting this piece of information ?
>
>
> Regards,
> Marc Legendre
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to