HUGE-SPLIT(1)
π HUGE-SPLIT(1) β the perl-y one, bestie
okay so real talk: this is a page from User Contributed Perl Documentation, and it's about a lil script called huge-split.pl. think of it as the chill scissors that cuts your giant bigram files into snackable pieces π
β¨ NAME β¨
huge-split.pl β splits bigram files from huge-count.pl into pieces. like, literally chopping them up. it's giving meal prep for your data π
πΈ DESCRIPTION πΈ
see perldoc huge-split.pl for the deets, bestie. that's where the lore lives π
π¦ USAGE π¦
huge-split.pl [OPTIONS] SOURCE
π INPUT π
π Required Arguments: π
SOURCEβ your input file. no cap, this one's mandatory.
okay so your SOURCE should be a file that was generated by huge-count.pl or by count.pl with the tokenlist option. the results files all get named after the input source file, and every single split file picks up an extension sequence number. cute, right? each piece knows its place β¨
π₯ --split N π₯
this parameter should be set. like, this is not a drill, bestie β huge-split divides up the output bigrams tokenlist that count.pl or huge-count.pl generated. each part created with --split N will contain N lines.
why does N matter so much? because you want to pick N so that huge-sort.pl can actually be run efficiently on any part that has N lines out of the file containing all the bigrams. vibe check your memory, basically π
π«Ά the manpage's own suggestion: set N equal to the number of KB of memory you have. if your computer has 8 GB RAM, that's 8,000,000 KB, so N should be 8000000.
π Other Options: π
--helpβ displays this message. the classic. the icon. π--versionβ displays the version information. slay, let me know what build we're on π
π AUTHOR π
Amruta Purandare, Ted Pedersen, Ying Liu. University of Minnesota at Duluth. absolute legends, periodt π
π COPYRIGHT π
Copyright (c) 2004-2011
Ted Pedersen, University of Minnesota, Duluth. tpederse@umn.edu
Ying Liu, University of Minnesota, Twin Cities. liux0395@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. (translation: it's free, it's generous, it promises nothing β know the difference π)
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.
π also the copyright years are 2004-2011 and the addresses are real β don't come for me, I'm just the messenger π«Ά
and that's the whole page, bestie! π this one was brewed by perl v5.42.3 and stamped 2015-10-04 β so it's vintage, it's iconic, it still runs, mwah πβ¨
π¦ 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