summaryrefslogtreecommitdiff
path: root/decoder/translator.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2010-12-12 15:32:19 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2010-12-12 15:32:19 -0500
commit8c16b9384e8b85abf9e51bc670e548bf5cd4a0c5 (patch)
tree83cb68bb8c884fcf14aa33eddf88f428ad60f807 /decoder/translator.cc
parentb8f314dddda3d440164e4772830e3c951ba06ee4 (diff)
facility for adding programmitically generated grammars
Diffstat (limited to 'decoder/translator.cc')
-rw-r--r--decoder/translator.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/decoder/translator.cc b/decoder/translator.cc
index d1ca125b..6ba74030 100644
--- a/decoder/translator.cc
+++ b/decoder/translator.cc
@@ -9,6 +9,10 @@ using namespace std;
Translator::~Translator() {}
+std::string Translator::GetDecoderType() const {
+ return "UNKNOWN";
+}
+
void Translator::ProcessMarkupHints(const map<string, string>& kv) {
if (state_ != kUninitialized) {
cerr << "Translator::ProcessMarkupHints in wrong state: " << state_ << endl;