rbtagger 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/word_tagger/tagger.cc +2 -2
- data/lib/rbtagger/version.rb +1 -1
- metadata +1 -1
data/ext/word_tagger/tagger.cc
CHANGED
@@ -168,8 +168,8 @@ int NWordTagger::execute( std::vector<std::string> &reduced_tags, const char *te
|
|
168
168
|
do {
|
169
169
|
for(mloc = sorted_tags.begin(); mloc != sorted_tags.end(); ++mloc ) {
|
170
170
|
std::pair< std::string, int > word_freq = *mloc;
|
171
|
-
printf( "word: %s, frequency: %d\n", word_freq.first.c_str(), word_freq.second );
|
172
|
-
printf( "word: %s, frequency: %d\n", mloc->first.c_str(), mloc->second );
|
171
|
+
//printf( "word: %s, frequency: %d\n", word_freq.first.c_str(), word_freq.second );
|
172
|
+
//printf( "word: %s, frequency: %d\n", mloc->first.c_str(), mloc->second );
|
173
173
|
if( word_freq.second < max_count ) {
|
174
174
|
sorted_tags.erase( mloc );
|
175
175
|
break;
|
data/lib/rbtagger/version.rb
CHANGED