COUNT2HUGE(1)
πΈ NAME πΈ
okay so bestie, welcome to COUNT2HUGE(1) β a User Contributed Perl Documentation page for count2huge.pl. This little icon converts the output of count.pl to huge-count.pl. That's the whole personality, and she serves it π
.
β¨ SYNOPSIS β¨
count2huge.pl takes the output of count.pl and sorts the bigrams by alphabet order. The output bigrams have the same order as the output of huge-count.pl. Same vibe, sorted era.
π DESCRIPTION π
count2huge.pl converts the output of count.pl to huge-count.pl for the same input text and options. Why are we doing this? Because the vector relatedness measure of UMLS-Similarity requires the bigrams that start with the same term to be grouped together. When the bigrams are sorted, it can optimize the processing time. For details, please see vector-input.pl of UMLS-Similarity.
Also, bestie: see perldoc count2huge.pl.
π USGAE π
The usage line is literally this:
count2huge.pl [OPTION] SOURCE DESTINATIONDIR
π§ INPUT π§
π Required Arguments π
SOURCEβ the input tocount2huge.plis a single flat bigrams list file generated bycount.pl. One file, all the bigrams, no chaos.DESTINATIONDIRβcount2huge.plsorts the bigrams in alphabet order. The result filecount2huge.outputis located in the destination directory. It has the same result as the output ofhuge-count.plwhich has the same text and options ofcount.pl.--split Nβhuge-splitwill divide the output bigrams tokenlist generated bycount.pl. Each part created with--split Nwill contain N lines. Value of N should be chosen such thathuge-sort.plcan be efficiently run on any part containing N lines from the file that contains all the bigrams.
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. math girlies rise β¨
π Other Options π
--helpβ displays the help information.--versionβ displays the version information.
π AUTHOR π
Ying Liu, University of Minnesota, Twin Cities. liux0395@umn.edu
π COPYRIGHT π
Copyright (C) 2009-2011, Ying Liu
Ying Liu, University of Minnesota, Twin Cities. liux0395@umn.edu
Ted Pedersen, University of Minnesota, Duluth. tpederse@umn.edu
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.
xoxo, your terminal bestie π this page is source/version perl v5.42.3, dated 2015-10-04, and the manual is COUNT2HUGE(1). bye bestie, go sort those bigrams π¦
π¦ where this page comes from
- nixos 26.05: perl5.42.3-Text-NSP 1.31
- nixpkgs unstable: perl5.42.3-Text-NSP 1.31
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms