I have it working by modifying mert-moses.pl on line 1476.
I replace [0-9a-z] with [-0-9a-z].
Is there a problem with modifying mert-moses.pl like this?


> On Aug 3, 2015, at 4:19 PM, Barry Haddow <[email protected]> wrote:
> 
> I took out the dash - does it work now?
> 
> On 03/08/15 18:55, John Morgan wrote:
>> Thanks Barry,
>> I think there's still a problem with the feature name.
>> I think the subroutine get_order_of_scores_from_nbestlist in
>> mert-moses.pl does not expect a dash in the feature name.
>> John
>> 
>> 
>> On 8/3/15, Barry Haddow <[email protected]> wrote:
>>> Hi John
>>> 
>>>> Is there a reason the example weight file has this feature name that I’m
>>>> missing?
>>> My fault I'm afraid. I streamlined bilingual-lm in EMS, but didn't
>>> realise that the example bypassed tuning. I've fixed it now according to
>>> your suggestion,
>>> 
>>> cheers - Barry
>>> 
>>> On 02/08/15 15:46, John Joseph Morgan wrote:
>>>> Hello,
>>>> I just wanted to give a heads up that in order to get the ems to run
>>>> completely with the config.toy.bilinguallm config file I had to make a
>>>> minor change.
>>>> Instead of tuning the config file points to a file called
>>>> weight_bilinguallm.ini.
>>>> I changed the feature name “BilingualNPLM0” to BLMbilingual-lm”.
>>>> I’m running the same setup now with tuning, I’m hoping the feature names
>>>> get written correctly.
>>>> Is there a reason the example weight file has this feature name that I’m
>>>> missing?
>>>> Thanks,
>>>> John
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Moses-support mailing list
>>>> [email protected]
>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>> 
>>> --
>>> The University of Edinburgh is a charitable body, registered in
>>> Scotland, with registration number SC005336.
>>> 
>>> 
> 
> 
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 


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

Reply via email to