Hi,

yes, that is correct. If there are non-zero valued scores listed with a
translation model feature, then this translation model was used for the
phrase pair.

-phi

On Wed, Jul 29, 2015 at 7:57 PM, Saumitra Yadav <[email protected]>
wrote:

> Sir,
> Thank you for that option , it really helped. I just wanted to know if I'm
> analysing it correctly
> For initial analysis m just finding how many times which phrase tables
> were called , so in attached file (formatted just for easy readability )
> please find the output of one sentence , is it correct to say that
> TranslationModel0 was used 2 times and TranslationModel1 was used 5 times
> for given input?
>
> Regards,
> Saumitra Yadav
> M.Tech.
> Department Of Computer Science And Technology
> Goa University
>
>
> On Wed, Jul 29, 2015 at 9:22 PM, Philipp Koehn <[email protected]> wrote:
>
>> Hi,
>>
>> when you call the decoder with the option "-tt" then you get for
>> each phrase pairs a list of all feature scores. You can use this
>> to track down which phrase table was used for each phrase
>> translation.
>>
>> -phi
>>
>> On Wed, Jul 29, 2015 at 10:59 AM, Hieu Hoang <[email protected]> wrote:
>>
>>> good question. no. You can try & write it yourself.
>>>
>>> in the TargetPhrase class, there is a method
>>>   GetContainer()
>>> which points to the phrase-table that a particular rule comes from. You
>>> can use this.
>>>
>>> On 29/07/2015 18:51, Saumitra Yadav wrote:
>>>
>>> Sir,
>>> Is there a command or argument which can tell, which phrase in output is
>>> taken from which phrase-table (incase we have multiple phrase-tables )?
>>>
>>> Regards,
>>> Saumitra Yadav
>>> M.Tech.
>>> Department Of Computer Science And Technology
>>> Goa University
>>>
>>>
>>> On Sun, Jul 26, 2015 at 11:49 AM, Hieu Hoang <[email protected]>
>>> wrote:
>>>
>>>> since you have 3 phrase-tables, you may have to have 3 entries in the
>>>> [decoding-graph-backoff] section, eg
>>>>   [decoding-graph-backoff]
>>>>   0
>>>>   3
>>>>   3
>>>>
>>>>
>>>> Hieu Hoang
>>>> Researcher
>>>> New York University, Abu Dhabi
>>>> http://www.hoang.co.uk/hieu
>>>>
>>>> On 25 July 2015 at 20:23, Saumitra Yadav < <[email protected]>
>>>> [email protected]> wrote:
>>>>
>>>>> Sir,
>>>>> Please find attached , moses.ini file i used and command used
>>>>> was ~/Decoder/mosesdecoder/bin/moses -f moses.ini
>>>>>
>>>>> Regards,
>>>>> Saumitra Yadav
>>>>> M.Tech.
>>>>> Department Of Computer Science And Technology
>>>>> Goa University
>>>>>
>>>>>
>>>>> On Sat, Jul 25, 2015 at 9:21 PM, Hieu Hoang <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> can you please send me the moses.ini file that you used, that cause
>>>>>> the segfault. And send me the exact command you typed
>>>>>>
>>>>>>
>>>>>> On 24/07/2015 14:40, Saumitra Yadav wrote:
>>>>>>
>>>>>> But sir when i did that there was * segmentation fault* while
>>>>>> loading first phrase-table, one walk around i got was giving phrase-table
>>>>>> uncompressed to decoder.
>>>>>>
>>>>>> Regards,
>>>>>> Saumitra Yadav
>>>>>> M.Tech.
>>>>>> Department Of Computer Science And Technology
>>>>>> Goa University
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 23, 2015 at 8:06 PM, Hieu Hoang < <[email protected]>
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> i think you have to swap the phrase tables around. The decoder
>>>>>>> always looks at the 1st phrase-table, then backoff to the 2nd if 
>>>>>>> nothing is
>>>>>>> found
>>>>>>>
>>>>>>>
>>>>>>> On 22/07/2015 16:59, Saumitra Yadav wrote:
>>>>>>>
>>>>>>> Sir/Ma'am,
>>>>>>> I'm trying to use multiple phrase tables for translation in Moses
>>>>>>> decoder, with preference to 1st phrase-table, but was getting a
>>>>>>> segmentation fault while loading 1st phrase table, so just switched the
>>>>>>> positions of phrase-tables in moses configuration file and it was 
>>>>>>> working ,
>>>>>>> now the table i want to give preference is 2nd in list , can i use
>>>>>>>
>>>>>>> [decoding-graph-backoff]
>>>>>>>  1
>>>>>>>  3
>>>>>>> in configuration file for backoff so that moses uses 2nd table and
>>>>>>> uses 1st table only for words it couldn't find in 2nd phrase-table?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Saumitra Yadav
>>>>>>> M.Tech.
>>>>>>> Department Of Computer Science And Technology
>>>>>>> Goa University
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moses-support mailing 
>>>>>>> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Hieu Hoang
>>>>>>> Researcher
>>>>>>> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Hieu Hoang
>>>>>> Researcher
>>>>>> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Hieu Hoang
>>> Researcher
>>> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>>>
>>>
>>> _______________________________________________
>>> 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
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to