View on
Ted Pedersen > Text-NSP-1.31 >


Annotate this POD


Open  0
View/Report Bugs

NAME ^ - Convert the output of to

SYNOPSIS ^ takes the output of and sorts the bigrams by alphabet order. The output bigrams have the same order with the output of

DESCRIPTION ^ convert the output of the to for the same input text and options. The reason we do this is because for the vector relatedness measure of UMLS-Similarity, it requires the bigrams which starts with the same term are grouped together. When the bigrams are sorted, it could optimize the processing time. For details, please see the of UMLS-Similarity.

See perldoc



Required Arguments:


Input to is a single flat bigrams list file generated by

DESTINATIONDIR sorts the bigrams in the alphabet order. The result file count2huge.output is located in the destination directory. It has the same result with the output of which has same text and options of

--split N

huge-split will divide the output bigrmas tokenlist generated by Each part created with --split N will contain N lines. Value of N should be chosen such that can be efficiently run on any part containing N lines from the file contains all bigrams file.

We suggest that N is equal to the number of KB of memory you have. If the computer has 8 GB RAM, which is 8,000,000 KB, N should be set to 8000000.

Other Options:


Displays the help information.


Displays the version information.


Ying Liu, University of Minnesota, Twin Cities.


Copyright (C) 2009-2011, Ying Liu

Ying Liu, University of Minnesota, Twin Cities.

Ted Pedersen, University of Minnesota, Duluth.

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.

syntax highlighting: