diff options
Diffstat (limited to 'extractor/vocabulary.h')
-rw-r--r-- | extractor/vocabulary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extractor/vocabulary.h b/extractor/vocabulary.h index c6a8b3e8..ff3e7a63 100644 --- a/extractor/vocabulary.h +++ b/extractor/vocabulary.h @@ -19,6 +19,8 @@ class Vocabulary { virtual string GetTerminalValue(int symbol); + int Size(); + private: unordered_map<string, int> dictionary; vector<string> words; |