huge-sort.pl(1) - Linux man page

Name

huge-sort.pl - Sort a --tokenlist of bigrams in alphabetical order.

Synopsis

count.pl --tokenlist input.out input

huge-sort.pl --keep input.out

Description

huge-sort.pl takes as input a duplicate bigram file generate by count.pl with --tokenlist option, counts the frequency of each bigram and sorts them in alphabetical order.

The output file will be found in input-file.sorted.

This program is used internally by huge-count.pl.

Usgae

huge-sort.pl [ OPTIONS ] SOURCE

Input

Required Arguments:

SOURCE

Input to huge-sort.pl should be a single flat file generated by count.pl with --tokenlist option. The result file is the input source file with '-sorted' extention, SOURCE-sorted.

Optional Arguments:

--keep

Switches ON the --keep option will keep the input unsorted file.

Other Options:

--help

Displays the help information.

--version

Displays the version information.

Author

Ying Liu, University of Minnesota, Twin Cities. liux0395 at umn.edu

Ted Pedersen, University of Minnesota, Duluth. tpederse at umn.edu

Copyright

Copyright © 2009-2010, Ying Liu and Ted Pedersen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA .