Re: [Moses-support] Error in running moses with randlm

2009-02-24 Thread Michael Zuckerman
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.
>


model.BloomMap.gz
Description: GNU Zip compressed data


moses.ini
Description: Binary data


in
Description: Binary data


phrase-table
Description: Binary data
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error in running moses with randlm

2009-02-24 Thread Miles Osborne
ok, i'll try to work it out.

can you:

--mail me your moses.ini file
--mail me the commands you ran to create your language model
--tell me exactly how much language model data you used and what it
is;  if it is europarl then that should be ok

Miles

2009/2/24 Michael Zuckerman :
> 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
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] Error in running moses with randlm

2009-02-24 Thread Miles Osborne
sorry --i just spotted your attachments, so i'll have a look now

Miles

2009/2/24 Miles Osborne :
> ok, i'll try to work it out.
>
> can you:
>
> --mail me your moses.ini file
> --mail me the commands you ran to create your language model
> --tell me exactly how much language model data you used and what it
> is;  if it is europarl then that should be ok
>
> Miles
>
> 2009/2/24 Michael Zuckerman :
>> 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
>> Moses-support@mit.edu
>> 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
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Unable to build moses-cmd in VS2005

2009-02-24 Thread Yestine Goh
Hi,

I downloaded and build SRILM in VS2005 using the VS project files from
http://www.inference.phy.cam.ac.uk/kv227/srilm/, following which I tried to
compile Moses in VS2005 with the Debug-withSRILM configuration.

Moses\moses compiled fine, but Moses\moses-cmd gave me an error (along with
plenty of warnings):
moses-cmd\src\main.cpp(72) : error C2512: 'WordLattice' : no appropriate
default constructor available

It is said that the VS2005 build doesn't use SRILM, but is it because SRILM
can't be compiled in Windows or is it due to code compatibility problems
with the VS compiler?

Thanks & regards,
Yestine
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support