Hi

I have not been able to use hierarchical decoding on a big corpus,
apparently because I didnt have enough ram. Is there a way to use an
on-disk binary rule table like there is for the phrase tables ?

I have tried using the same command:
gzip -cd rule-table.gz | LC_ALL=C sort |
~/dl-nlp/moses-svn/trunk/misc/processPhraseTable -ttable 0 0 -
-nscores 5 -out binary-rule-table
Then I put this in moses.ini:
2 0 0 5  /home/raf/mostest/simplesyntaxtest/model/binary-rule-table
But when I launch moses I get this error:

Start loading PhraseTable
/home/raf/mostest/simplesyntaxtest/model/binary-rule-table : [4.000]
seconds
filePath: /home/raf/mostest/simplesyntaxtest/model/binary-rule-table
moses_chart: OnDiskWrapper.cpp:48: bool
OnDiskPt::OnDiskWrapper::OpenForLoad(const std::string&): Assertion
`m_fileSource.is_open()' failed.
Aborted
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to