Yeah, sorry about this- I broke moses, at least for certain compilers.
 I'll fix it shortly.
-Chris

On Wed, Mar 4, 2009 at 12:17 PM, Miles Osborne <[email protected]> wrote:
> ok, it seems that the most recent version of Moses had a bad commit
> and broke the language model interface.  so, this is not really
> anything to do with RandLM as such.
>
> Miles
>
> 2009/2/26 Michael Zuckerman <[email protected]>:
>> Hi,
>>
>> As you said, I tried again with europarl used for training the language
>> model, but I get the same error:
>> Start loading LanguageModel
>> /home/michez/alfabetic/lm/randlm/test/model.BloomMap : [0.000] seconds
>> pure virtual method called
>> terminate called without an active exception
>> Aborted
>>
>> For creating the language model I ran:
>> $ ../bin/buildlm -struct BloomMap -falsepos 8 -values 8 -output-prefix model
>> -input-path ../../europarl.lower.token.en.gz
>>
>> Thank you for your help,
>>      Michael.
>> - Show quoted text -
>>
>> On Tue, Feb 24, 2009 at 8:36 PM, Miles Osborne <[email protected]> wrote:
>>>
>>> can you try it again with a large amount of data for training the
>>> language model?  in the past i've noticed that it doesn't work very
>>> well with minute numbers of sentences.
>>>
>>> try europarl
>>>
>>> (i get a different error message, but it might be the same thing)
>>>
>>> Miles
>>>
>>> 2009/2/24 Michael Zuckerman <[email protected]>:
>>> > Hi,
>>> >
>>> >>
>>> >> I am running moses on a small example containing two german sentences
>>> >> (in
>>> >> file "in"):
>>> >> das ist ein kleines haus
>>> >> das ist ein kleines haus
>>> >> I am using the attached randlm language model model.BloomMap, and the
>>> >> attached phrase table and moses.ini files.
>>> >> My command line is:
>>> >> $ ../../../../mosesdecoder/moses-cmd/src/moses -f moses.ini < in > out
>>> >> When loading the language model, moses gives an error:
>>> >>
>>> >> Defined parameters (per moses.ini or switch):
>>> >>         config: moses.ini
>>> >>         input-factors: 0
>>> >>         lmodel-file: 5 0 3
>>> >> /home/michez/alfabetic/lm/randlm/test/model.BloomMap
>>> >>         mapping: T 0
>>> >>         ttable-file: 0 0 1 phrase-table
>>> >>         ttable-limit: 10
>>> >>         weight-d: 1
>>> >>         weight-l: 1
>>> >>         weight-t: 1
>>> >>         weight-w: 0
>>> >> Added ScoreProducer(0 Distortion) index=0-0
>>> >> Added ScoreProducer(1 WordPenalty) index=1-1
>>> >> Added ScoreProducer(2 !UnknownWordPenalty) index=2-2
>>> >> Loading lexical distortion models...
>>> >> have 0 models
>>> >> Start loading LanguageModel
>>> >> /home/michez/alfabetic/lm/randlm/test/model.BloomMap : [0.000] seconds
>>> >> pure virtual method called
>>> >> terminate called without an active exception
>>> >> Aborted
>>> >>
>>> >> Do you have a clue how to handle this error ?
>>> >>
>>> >> Thanks,
>>> >>     Michael.
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>

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

Reply via email to