Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/nplm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Sennrich <rico.sennrich@gmx.ch>2015-02-19 14:40:43 +0300
committerRico Sennrich <rico.sennrich@gmx.ch>2015-02-19 14:40:43 +0300
commit8d5573b9ce39b995ea275162a6f376dc0ed8f0c4 (patch)
tree3743cc3a8903f3af0dcf8f5badaa88f1fecaf341
parente6fb89f3492a5f1a0fccd0cc17a50fd8be53012c (diff)
bugfix: get_output_vocabulary actually returns input vocabulary
-rw-r--r--src/neuralTM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neuralTM.h b/src/neuralTM.h
index 53ba1e3..14bc7bf 100644
--- a/src/neuralTM.h
+++ b/src/neuralTM.h
@@ -45,7 +45,7 @@ public:
}
const vocabulary &get_input_vocabulary() const { return *(this->input_vocab); }
- const vocabulary &get_output_vocabulary() const { return *(this->input_vocab); }
+ const vocabulary &get_output_vocabulary() const { return *(this->output_vocab); }
int lookup_input_word(const std::string &word) const
{