I'm not sure what you're trying to do. Can you give an example.

On 24/11/2015 22:46, [email protected] wrote:
> Hi,
>
> I would like to add a word by word translation model to moses as a new
> feature. I didn't understand how it is possible to have access to the
> source and target words. As it is explained in the documentation,
> StringPiece is accessible by Factor class which is accessible by Word
> class which is accessible by TargetPhrase which is given as argument in
> the evaluation method like EvaluateWithSourceContext. I don't use factors
> with my translation model, I just use surface form of words.
> How is it possible to read the string source and target words without
> using Factors?
>
> Thank you,
> Dorra
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>

-- 
Hieu Hoang
http://www.hoang.co.uk/hieu

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to