summaryrefslogtreecommitdiff
path: root/decoder/ff_ngrams.h
diff options
context:
space:
mode:
authorWaleed Ammar <wammar@cs.cmu.edu>2012-07-02 16:51:21 -0400
committerWaleed Ammar <wammar@cs.cmu.edu>2012-07-02 16:51:21 -0400
commit112a459dcc56072a65cacc9a233861b658ccd388 (patch)
tree5bd46d84768ca73a6ff0e543492171891f8b2db3 /decoder/ff_ngrams.h
parent9619c91e3eea2e5eb13d42e02d39730189ebc577 (diff)
(1) allow prefixes and separators used in feature instantiations to be configured. (2) minor refactoring.
Diffstat (limited to 'decoder/ff_ngrams.h')
-rw-r--r--decoder/ff_ngrams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_ngrams.h b/decoder/ff_ngrams.h
index 82f61b33..064dbb49 100644
--- a/decoder/ff_ngrams.h
+++ b/decoder/ff_ngrams.h
@@ -10,7 +10,7 @@
struct NgramDetectorImpl;
class NgramDetector : public FeatureFunction {
public:
- // param = "filename.lm [-o n]"
+ // param = "filename.lm [-o <order>] [-U <unigram-prefix>] [-B <bigram-prefix>] [-T <trigram-prefix>] [-4 <4-gram-prefix>] [-5 <5-gram-prefix>] [-S <separator>]
NgramDetector(const std::string& param);
~NgramDetector();
virtual void FinalTraversalFeatures(const void* context,