Moses Support Digest:Reading binary phrase table from the disk

[Moses-support] Reading binary phrase table from the disk

Hello,

As I understand, when given a binary phrase table, moses does not load it into memory, but rather seeks for phrases in file directly from disk. Could you please tell me, what are the functions in C++ that are used for this purpose.

Thank you,

Michael.


Re:[Moses-support] Reading binary phrase table from the disk

There are several layers to the implementation, with the program-level API defined in the PhraseDictionaryTreeAdaptor class.
PhraseDictionaryTreeAdaptor forwards its calls to PDAImp, which is a wrapper on PhraseDictionaryTree, which uses a PrefixTreeF template class. PrefixTreeF reads binary files using a smart pointer defined in FilePtr.h.

Cheers
Adam

Re:[Moses-support] Reading binary phrase table from the disk

Thank you very much.

Michael.

NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.

Related posts:

  1. Moses Support Digest:Alignment information from binary phrase table
  2. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
  3. Moses Support Digest:2.718 in the phrase-table
  4. Moses Support Digest: moses_chart and recaser phrase-table
  5. Moses Support Digest: EMS table binarization
  6. Moses Support Digest:Aligned phrase counts
  7. Moses Support Digest: Moses seems to hang
  8. Moses Support Digest:Moses Error in training phrase
  9. Moses Support Digest:About the hierarchical model of Moses
  10. Moses Support Digest:Suffix arrays in Moses
This entry was posted in Moses, SMT and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>