mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 00:47:31 +03:00
fix word lattice input feature for non-binary pt
This commit is contained in:
parent
755bd609f5
commit
066a681b43
@ -122,7 +122,7 @@ enum InputTypeEnum {
|
||||
,ConfusionNetworkInput = 1
|
||||
,WordLatticeInput = 2
|
||||
,TreeInputType = 3
|
||||
,WordLatticeInput2 = 4
|
||||
//,WordLatticeInput2 = 4
|
||||
, TabbedSentenceInput = 5
|
||||
,ForestInputType = 6
|
||||
};
|
||||
|
@ -21,6 +21,10 @@ private:
|
||||
|
||||
public:
|
||||
WordLattice();
|
||||
|
||||
InputTypeEnum GetType() const
|
||||
{ return WordLatticeInput; }
|
||||
|
||||
size_t GetColumnIncrement(size_t ic, size_t j) const;
|
||||
void Print(std::ostream&) const;
|
||||
/** Get shortest path between two nodes
|
||||
|
Loading…
Reference in New Issue
Block a user