i just looked at a fresh install of Moses and it is certainly there:

svn co https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk
mosesdecoder

cd mosesdecoder/moses/src

beatles]miles: ls LanguageModel*
LanguageModel.cpp         LanguageModelInternal.cpp
LanguageModelRandLM.cpp  LanguageModelSingleFactor.cpp
LanguageModel.h           LanguageModelInternal.h
LanguageModelRandLM.h    LanguageModelSingleFactor.h
LanguageModelFactory.cpp  LanguageModelJoint.cpp
LanguageModelRemote.cpp  LanguageModelSkip.cpp
LanguageModelFactory.h    LanguageModelJoint.h
LanguageModelRemote.h    LanguageModelSkip.h
LanguageModelIRST.cpp     LanguageModelMultiFactor.cpp  LanguageModelSRI.cpp
LanguageModelIRST.h       LanguageModelMultiFactor.h    LanguageModelSRI.h
[beatles]miles:

2009/2/23 Michael Zuckerman <[email protected]>:
> Thank you for your answer. I built moses with randlm using the command
> ./configure --with-randlm=/path/to/randlm
> but I don't see the files LanguageModelRandLM.cpp and LanguageModelRandLM.h
> in moses/moses/src. Could you please advise ?
>
> Thanks,
>      Michael.
>
> On Mon, Feb 23, 2009 at 4:08 PM, Miles Osborne <[email protected]> wrote:
>>
>> RandLM works from the perspective of Moses) in exactly the same way as
>> the SRILM.  so, you:
>>
>> --build RandLM first (using the RandLM make file)
>>
>> --do the usual Moses building and instead of *just* using the SRILM
>> also use RandLM  (or you can just use RandLM )  so this would be:
>>
>> ./configure --with-srilm=/path/to/srilm --with-randlm=/path/to/randlm
>>
>> for both SRILM and Randlm
>>
>> or for just RandLM:
>>
>> /configure --with-randlm=/path/to/randlm
>>
>> note that Moses now contains the RandLM bindings, so check that you
>> see them within your distribution of it.  you should see these files:
>>
>> LanguageModelRandLM.cpp
>> LanguageModelRandLM.h
>>
>> in moses/moses/src
>>
>> Miles
>> 2009/2/23 Adam Lopez <[email protected]>:
>> >
>> > You need to first run /regenerate-makefiles.sh, as explained in the
>> > Moses
>> > build instructions.  This creates the configure command.
>> >
>> > On Mon, Feb 23, 2009 at 12:48 PM, Michael Zuckerman
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> I am trying to compile moses with randlm. I am following the steps in
>> >> file
>> >> BUILDING_WITH_MOSES.txt in the distribution of randlm. I says there
>> >> that I
>> >> should execute the commands
>> >> $ cd /path/to/mosesdist
>> >> $ ./configure --with-randlm=/path/to/randlm
>> >> However, there is no such file "configure" in moses distribution which
>> >> I
>> >> got from SourceForge site. There is only the file "configure.in", which
>> >> gives syntax errors when running it with bash. Could you please help.
>> >>
>> >> Thanks,
>> >>     Michael.
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> > 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.
>
>



-- 
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