hey raphael
yep, the on-disk binary rule table does the same thing for the
hierarchical model. See the bottom of this page
http://www.statmt.org/moses/?n=Moses.SyntaxTutorial
On 30/07/2010 21:13, Raphael Payen wrote:
> 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
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support