summaryrefslogtreecommitdiff
path: root/extractor/rule_extractor.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-04-01 17:23:25 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-04-01 17:23:25 +0100
commitfa96a3665d7d8f8aafd1c8cb46a10ef5aeb4b54e (patch)
treeba81926ad20d1e4d2e8cf8c2f9537eb32c69ece1 /extractor/rule_extractor.h
parenta0579f2ceee63beef15ddb14adec1c4cfbe20c66 (diff)
Minor speedup: pass sentence_id around.
Diffstat (limited to 'extractor/rule_extractor.h')
-rw-r--r--extractor/rule_extractor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extractor/rule_extractor.h b/extractor/rule_extractor.h
index bfec0225..26e6f21c 100644
--- a/extractor/rule_extractor.h
+++ b/extractor/rule_extractor.h
@@ -102,8 +102,8 @@ class RuleExtractor {
int source_back_low, int source_back_high, const vector<int>& source_low,
const vector<int>& source_high, const vector<int>& target_low,
const vector<int>& target_high, vector<pair<int, int> > target_gaps,
- int sentence_id, int starts_with_x, int ends_with_x, int extend_left,
- int extend_right) const;
+ int sentence_id, int source_sent_start, int starts_with_x,
+ int ends_with_x, int extend_left, int extend_right) const;
private:
shared_ptr<DataArray> target_data_array;