mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-02 17:09:36 +03:00
Add util for querying on-disk pt
This commit is contained in:
parent
7ef9b5c635
commit
3454617467
@ -40,6 +40,8 @@ namespace OnDiskPt
|
||||
typedef std::pair<UINT64, UINT64> AlignPair;
|
||||
typedef std::vector<AlignPair> AlignType;
|
||||
|
||||
class Vocab;
|
||||
|
||||
class TargetPhrase: public Phrase
|
||||
{
|
||||
friend std::ostream& operator<<(std::ostream&, const TargetPhrase&);
|
||||
@ -91,6 +93,8 @@ public:
|
||||
UINT64 ReadOtherInfoFromFile(UINT64 filePos, std::fstream &fileTPColl);
|
||||
UINT64 ReadFromFile(std::fstream &fileTP, size_t numFactors);
|
||||
|
||||
void DebugPrint(std::ostream &out, const Vocab &vocab) const;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user