diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-15 04:26:08 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-15 04:26:08 +0200 |
commit | 7c19e97d2b1216daf95055291c8bbda9b5705dd6 (patch) | |
tree | 5f76f798c59ea9b67050cf9ee854c13e1fdc4539 /decoder/trule.h | |
parent | a39aa79b18347e22ef36ebc0da5a7eb220bcb23f (diff) | |
parent | 3e82edae3cb6a347a3094b82f961082421fe6cb9 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'decoder/trule.h')
-rw-r--r-- | decoder/trule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoder/trule.h b/decoder/trule.h index cc370757..243b0da9 100644 --- a/decoder/trule.h +++ b/decoder/trule.h @@ -144,6 +144,9 @@ class TRule { SparseVector<double> scores_; char arity_; + std::vector<WordID> ext_states_; // in t2s or t2t translation, this is of length arity_ and + // indicates what state the transducer is in after having processed + // this transduction rule // these attributes are application-specific and should probably be refactored TRulePtr parent_rule_; // usually NULL, except when doing constrained decoding |