summaryrefslogtreecommitdiff
path: root/extractor/rule_factory.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/rule_factory.h
parent0893b546617e39f818a001a061c6c6b9b57ae1a5 (diff)
loo
Diffstat (limited to 'extractor/rule_factory.h')
-rw-r--r--extractor/rule_factory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/extractor/rule_factory.h b/extractor/rule_factory.h
index 52e8712a..c7332720 100644
--- a/extractor/rule_factory.h
+++ b/extractor/rule_factory.h
@@ -3,6 +3,7 @@
#include <memory>
#include <vector>
+#include <unordered_set>
#include "matchings_trie.h"
@@ -71,7 +72,7 @@ class HieroCachingRuleFactory {
// Constructs SCFG rules for a given sentence.
// (See class description for more details.)
- virtual Grammar GetGrammar(const vector<int>& word_ids);
+ virtual Grammar GetGrammar(const vector<int>& word_ids, const unordered_set<int> blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array);
protected:
HieroCachingRuleFactory();