summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-07-21 23:29:56 -0400
committerChris Dyer <redpony@gmail.com>2014-07-21 23:29:56 -0400
commita15d39c6ca0a39c7c549d24f0e8c72731821c8c0 (patch)
tree9d0c16ad1a2e55f652c2c6025686a8e6ed122efd
parentf3255478edc9b04fd13d4e74a2fbf37aeb981202 (diff)
comment about cluster file format
-rw-r--r--decoder/ff_ngrams.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoder/ff_ngrams.cc b/decoder/ff_ngrams.cc
index 0a97cba5..38e1a60a 100644
--- a/decoder/ff_ngrams.cc
+++ b/decoder/ff_ngrams.cc
@@ -364,6 +364,9 @@ class NgramDetectorImpl {
}
}
+ // the cluster file is formatted as follows:
+ // cluster word
+ // cluster word
void ReadClusterFile(const string& clusters) {
ReadFile rf(clusters);
istream& in = *rf.stream();