diff options
Diffstat (limited to 'src/vocabulary.h')
-rw-r--r-- | src/vocabulary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vocabulary.h b/src/vocabulary.h index fee76f6..1f844a7 100644 --- a/src/vocabulary.h +++ b/src/vocabulary.h @@ -77,6 +77,8 @@ public: } const std::vector<std::string> &words() const { return m_words; } + + const boost::unordered_map<std::string, int>& get_idmap() const { return m_index; } }; } // namespace nplm |