Table of Contents

Name

ngrams-sort - sorts ngrams by descending counts (most frequent first)

Synopsis

ngrams-sort

Description

The ngrams-sort utility reads ngrams from standard input and sorts them by descending counts (most frequent first).

Examples

Command:

echo "computer languages are singificantly different from \
      human languages" | ngrams -n 1 | ngrams-sort
Output:

9
2       languages
1       singificantly
1       </s>
1       human
1       from
1       different
1       computer
1       are

Author

Autocorpus was written by Maciej Pacula (maciej.pacula@gmail.com).

The project website is http://mpacula.com/autocorpus

See Also

autocorpus(7) , ngrams(1) , ngrams(5) , ngrams-freq-filter(1) , sentences(1) , tokenize(1) , wiki-articles(1) , wiki-textify(1) ,


Table of Contents