summaryrefslogtreecommitdiff
path: root/decoder/decoder.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-07-24 20:46:22 +0200
committerPatrick Simianer <p@simianer.de>2011-09-23 19:13:57 +0200
commit354561ec7006b6a67884227e0a37465608a01152 (patch)
tree209cebe89d3b5c63aaaa2579a92984f8eac484ba /decoder/decoder.h
parentde4db4bf7baf8b5498deb7dd43f59b9fcf2246c8 (diff)
added dtrain, implemented psg setting in decoder/translator, implemented psmetrics, ngram statistics, main carcass
Diffstat (limited to 'decoder/decoder.h')
-rw-r--r--decoder/decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/decoder.h b/decoder/decoder.h
index 813400e3..6eca12c1 100644
--- a/decoder/decoder.h
+++ b/decoder/decoder.h
@@ -34,6 +34,7 @@ struct Decoder {
// that will be used on subsequent calls to Decode. rules should be in standard
// text format. This function does NOT read from a file.
void SetSupplementalGrammar(const std::string& grammar);
+ void SetSentenceGrammar(const std::string& grammar);
private:
boost::program_options::variables_map conf;
boost::shared_ptr<DecoderImpl> pimpl_;