From 476d09e1df52cba0be8e5f50d52bf5f32795288f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 7 Dec 2009 13:01:21 -0500 Subject: add support for generating pruned lattices when in compound splitting mode --- src/csplit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/csplit.h') 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& 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 pimpl_; }; -- cgit v1.2.3