7 #include <dictionary.h>
11 int main(int argc
, char **argv
)
13 get_ngram().read(argc
== 2 ? argv
[1] : "ngram");
15 warch
.load("wordlist");
19 if (++count
% 200 == 0) cerr
<< count
<< endl
;
27 if (p
.empty() || p
.size() <= 2)
29 seg
.resize(p
.size()-2);
30 copy(p
.begin()+1,p
.end()-1,seg
.begin());