summaryrefslogtreecommitdiff
path: root/extractor/grammar_extractor.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2013-11-13 11:34:59 -0800
committerChris Dyer <redpony@gmail.com>2013-11-13 11:34:59 -0800
commit9972fc6db6bd816f464dff90741c36f6be137f96 (patch)
tree1faba46366e929aec478e868efa77c113421637f /extractor/grammar_extractor.h
parent9be8d89b5a4065a81b26d8af1f3443d152e7922a (diff)
parentd32361ce37f794ae92f852ae2c7c3e6ef440ff07 (diff)
Merge pull request #28 from pks/master
fix
Diffstat (limited to 'extractor/grammar_extractor.h')
-rw-r--r--extractor/grammar_extractor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extractor/grammar_extractor.h b/extractor/grammar_extractor.h
index 6c0aafbf..ae407b47 100644
--- a/extractor/grammar_extractor.h
+++ b/extractor/grammar_extractor.h
@@ -45,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, const unordered_set<int> blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array);
+ 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.