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
commit2e746d6ad25aaf4d85f9c8f277ff109e45bfd93e (patch)
treed2277986db27f5e4acec62e651f962359c3cbd03 /extractor/rule_factory.h
parent8ea6bd821bf2a71a4a55e137f2f3c7d24200362a (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();