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

On 12 May 2016 at 18:31, Prashant Mathur <[email protected]> wrote:

> Hi All,
>
> Two questions:
> 1. Is it okay to pass the sentence ID to PhraseDictionary* via
> InitializeForInput function? or is it not thread safe?
>
InitializeForInput() is given the task object, which contains the input,
which contains the id.
   ttask->GetSource()->GetTranslationId()
it's threadsafe.

>
> 2. The auxiliary document level tags at sentence level (<dlt>) does not
> seem to be thread safe so I would like to have the sentence id information
> pass on to the GetTargetPhraseCollection function.
> Is there already something that I can use?
>
>
>
> Thanks,
> Prashant
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to