Excellent. Thanks a lot Kenneth.
Albert
-Original Message-
From: Kenneth Heafield [mailto:mo...@kheafield.com]
Sent: lunes, 26 de mayo de 2014 20:05
To: Albert Llorens; moses-support@mit.edu
Subject: Re: [Moses-support] Get the probability of a given n-gram in a
language model
Hi
d regards.
>
> Albert
>
>
> -Original Message-
> From: moses-support-boun...@mit.edu [mailto:moses-support-boun...@mit.edu] On
> Behalf Of Kenneth Heafield
> Sent: viernes, 23 de mayo de 2014 17:34
> To: moses-support@mit.edu
> Subject: Re: [Moses-sup
lbert
-Original Message-
From: moses-support-boun...@mit.edu [mailto:moses-support-boun...@mit.edu] On
Behalf Of Kenneth Heafield
Sent: viernes, 23 de mayo de 2014 17:34
To: moses-support@mit.edu
Subject: Re: [Moses-support] Get the probability of a given n-gram in a
language model
Hi,
You ca
Hi,
You can use bin/query on an ARPA or KenLM file. Then just type
sentences at it (or use a file as stdin). By default it will assume you
are scoring sentences. You can pass -n to not wrap in and .
It appears that you are asking to score sentence fragments. The
leading words
Hi,
Is there a straightforward way I can ask Moses for the probability (or the
frequency) of a given n-gram in a given language model? If so, can I do the
query through mosesserver?
Thanks.
Kind regards.
Albert
___
Moses-support mailing list
Moses-