diff options
Diffstat (limited to 'extractor/vocabulary.cc')
| -rw-r--r-- | extractor/vocabulary.cc | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/extractor/vocabulary.cc b/extractor/vocabulary.cc index 5c379a29..b68d76a9 100644 --- a/extractor/vocabulary.cc +++ b/extractor/vocabulary.cc @@ -24,3 +24,8 @@ bool Vocabulary::IsTerminal(int symbol) {  string Vocabulary::GetTerminalValue(int symbol) {    return words[symbol];  } + +int Vocabulary::Size() { +  return words.size(); +} +  | 
