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 On Mon, Jan 4, 2010 at 12:25 PM, Michael Zuckerman <[email protected]> wrote: > 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. > > _______________________________________________ > 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
