summaryrefslogtreecommitdiff
path: root/extractor/vocabulary.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/vocabulary.h')
-rw-r--r--extractor/vocabulary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extractor/vocabulary.h b/extractor/vocabulary.h
index 05744269..ed55e5e4 100644
--- a/extractor/vocabulary.h
+++ b/extractor/vocabulary.h
@@ -12,7 +12,7 @@ class Vocabulary {
public:
virtual ~Vocabulary();
- int GetTerminalIndex(const string& word);
+ virtual int GetTerminalIndex(const string& word);
int GetNonterminalIndex(int position);