summaryrefslogtreecommitdiff
path: root/extractor/precomputation.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:18:13 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 17:18:13 +0000
commitde708edda64bf210f99a85deba9fe35af41856b0 (patch)
tree08c8cfffc1be3a97ae623cd931924da2e3c249d2 /extractor/precomputation.cc
parent41b2aae5cf08899da5c46e944ead4ddf6639a3f0 (diff)
Removed obsolete TODOs.
Diffstat (limited to 'extractor/precomputation.cc')
-rw-r--r--extractor/precomputation.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/extractor/precomputation.cc b/extractor/precomputation.cc
index e29018c2..0fadc95c 100644
--- a/extractor/precomputation.cc
+++ b/extractor/precomputation.cc
@@ -69,8 +69,6 @@ vector<vector<int> > Precomputation::FindMostFrequentPatterns(
for (size_t i = 1; i < lcp.size(); ++i) {
for (int len = lcp[i]; len < max_frequent_phrase_len; ++len) {
int frequency = i - run_start[len];
- // TODO(pauldb): Only add patterns that don't span across multiple
- // sentences.
if (frequency >= min_frequency) {
heap.push(make_pair(frequency,
make_pair(suffix_array->GetSuffix(run_start[len]), len + 1)));