Yes, though not directly. 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.
Adam On Fri, Feb 20, 2009 at 11:25 AM, [email protected] <[email protected]> wrote: > Thanks Adam. > > Following up, it looks like PhraseDictionaryTreeAdaptor.cpp is responsbile > for reading the binarized phrase tables and language model. Is this correct? > > > Tom > > On Fri, Feb 20, 2009 at 5:49 PM, Adam Lopez <[email protected]> wrote: > >> >> Binarized tables are not read with zlib. >> >> On Fri, Feb 20, 2009 at 9:38 AM, [email protected] <[email protected]>wrote: >> >>> I'm hoping someone can help me understand how Moses Decoder reads the >>> binarized tables. >>> >>> 1) Does Moses perform all phrase table and LM reads through the zlib >>> decompression interface? I.e. are phrase tables data decompressed using zlib >>> during runtime? >>> >>> 2) If yes, does Moses Decoder also read the binarized phrase tables >>> through the zlib interface? >>> >>> Thanks >>> Tom >>> >>> _______________________________________________ >>> 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
