try now, it was a simple fix

https://github.com/moses-smt/mosesdecoder/commit/e8b1eb047cf067441a6a1a12316cffe027f35abb

the attached file is you ini file, updated


On 7 June 2013 21:06, Matt Post <[email protected]> wrote:

> Hieu -- any update? Do you mind just telling me the format of the numbers
> (assuming it's a simple change)?
>
> Thanks,
> matt
>
>
> On Jun 7, 2013, at 3:37 PM, Matt Post <[email protected]> wrote:
>
> Sure thing, thanks!
>
> <moses.hiero2>
>
> On Jun 7, 2013, at 3:33 PM, Hieu Hoang <[email protected]> wrote:
>
> oops. Can you send me you ini file.
>
> the format has recently been changed. There's a conversion routine from
> the old to new format but it probably fails for things i don't often see.
>
> i'll document it shortly
>
>
>
>
> On 7 June 2013 20:25, Kenneth Heafield <[email protected]> wrote:
>
>> Hi,
>>
>>         Moses does support multiple LMs.  This looks like an issue with
>> the recent changes to configuration, which is Hieu's area.
>>
>> Kenneth
>>
>> On 06/07/13 20:08, Matt Post wrote:
>>
>>> Hi Kenneth,
>>>
>>> Can you tell me whether Moses supports multiple LMs, and how to do it? I
>>> have looked all over and can't find any documentation on this. See the
>>> error I get below.
>>>
>>> I've tried just listing them all:
>>>
>>> [lmodel-file]
>>> 8 0 5 /home/hltcoe/mpost/expts/**gigaword.kenlm.v5
>>> 8 0 5 /home/hltcoe/mpost/expts/**wmt12/data/monolingual/**
>>> training-monolingual/lm.en.**kenlm.v5
>>> 8 0 5 /home/hltcoe/mpost/expts/**wmt13/runs/hiero/de-en/8/lm.**kenlm
>>>
>>> and then the weights:
>>>
>>> [weight-l]
>>> 0.0326538592710674
>>> 0.126667925925625
>>> 0.0265181580850064
>>>
>>> but then it dies with this:
>>>
>>> line=KENLM factor=0 order=5 num-features=1 lazyken=0
>>> path=/home/hltcoe/mpost/expts/**gigaword.kenlm.v5
>>> FeatureFunction: KENLM0 start: 0 end: 1
>>> WEIGHT KENLM0=0.012,
>>> line=KENLM factor=1 order=5 num-features=1 lazyken=0
>>> path=/home/hltcoe/mpost/expts/**wmt12/data/monolingual/**
>>> training-monolingual/lm.en.**kenlm.v5
>>> FeatureFunction: KENLM1 start: 1 end: 2
>>>
>>> WEIGHT KENLM1=
>>> Check scores.size() == indexes.second - indexes.first failed in ./moses/
>>> **ScoreComponentCollection.h:235
>>> Aborted
>>>
>>> matt
>>>
>>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu

Attachment: moses.ini.new
Description: Binary data

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

Reply via email to