diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-11 21:57:18 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-11 21:57:18 -0400 |
commit | 64f5a686dbfb128b7dfce1d6d842ba976da8c22f (patch) | |
tree | 6c81fe8b366f3ad84f38e8e075beb965bf04a722 /decoder/ff.h | |
parent | 07ea7b64b6f85e5798a8068453ed9fd2b97396db (diff) |
add support for dlopen'd feature functions
Diffstat (limited to 'decoder/ff.h')
-rw-r--r-- | decoder/ff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ff.h b/decoder/ff.h index 6c22d39f..227787ca 100644 --- a/decoder/ff.h +++ b/decoder/ff.h @@ -27,6 +27,7 @@ typedef std::vector<WordID> Features; // set of features ids // depends on context, you may also need to implement // FinalTraversalFeatures(...) class FeatureFunction { + friend class ExternalFeature; public: std::string name_; // set by FF factory using usage() bool debug_; // also set by FF factory checking param for immediate initial "debug" |