summaryrefslogtreecommitdiff
path: root/extractor/grammar_extractor.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-09-20 20:01:03 +0200
committerPatrick Simianer <p@simianer.de>2013-09-20 20:01:03 +0200
commit73f2592edc0c8f510029e4834acd899751c85862 (patch)
treec7db5a6d797ccaf38c5693263a7cf6bcc2a60e13 /extractor/grammar_extractor.h
parent0893b546617e39f818a001a061c6c6b9b57ae1a5 (diff)
loo
Diffstat (limited to 'extractor/grammar_extractor.h')
-rw-r--r--extractor/grammar_extractor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/extractor/grammar_extractor.h b/extractor/grammar_extractor.h
index b36ceeb9..6c0aafbf 100644
--- a/extractor/grammar_extractor.h
+++ b/extractor/grammar_extractor.h
@@ -4,6 +4,7 @@
#include <memory>
#include <string>
#include <vector>
+#include <unordered_set>
using namespace std;
@@ -44,7 +45,7 @@ class GrammarExtractor {
// Converts the sentence to a vector of word ids and uses the RuleFactory to
// extract the SCFG rules which may be used to decode the sentence.
- Grammar GetGrammar(const string& sentence);
+ Grammar GetGrammar(const string& sentence, const unordered_set<int> blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array);
private:
// Splits the sentence in a vector of words.