From 8d5573b9ce39b995ea275162a6f376dc0ed8f0c4 Mon Sep 17 00:00:00 2001 From: Rico Sennrich Date: Thu, 19 Feb 2015 11:40:43 +0000 Subject: bugfix: get_output_vocabulary actually returns input vocabulary --- src/neuralTM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3