diff options
author | Chris Dyer <redpony@gmail.com> | 2009-12-07 13:01:21 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2009-12-07 13:01:21 -0500 |
commit | 476d09e1df52cba0be8e5f50d52bf5f32795288f (patch) | |
tree | 849b10b690bcf762aeeabf114595862742a811ca /src/csplit.h | |
parent | ec7edcc7e398bdb040d810094b8416ad9f279d98 (diff) |
add support for generating pruned lattices when in compound splitting mode
Diffstat (limited to 'src/csplit.h')
-rw-r--r-- | src/csplit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/csplit.h b/src/csplit.h index 54e5329d..ce6295c1 100644 --- a/src/csplit.h +++ b/src/csplit.h @@ -18,6 +18,11 @@ struct CompoundSplit : public Translator { SentenceMetadata* smeta, const std::vector<double>& weights, Hypergraph* forest); + + // given a forest generated by CompoundSplit::Translate, + // find the edge representing the unsegmented form + static int GetFullWordEdgeIndex(const Hypergraph& forest); + private: boost::shared_ptr<CompoundSplitImpl> pimpl_; }; |