logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

idngram_merge - merge idngram file into one

Author

       Originally   written   by   Phill.Zhang   <phill.zhang@sun.com>.    Currently   maintained   by  Kov.Chai
       <tchaikov@gmail.com>.

Description

idngram_merge merge multiple idngram file, each of them are sorted [id1,...,idN,freq] array, into one
       idngram file. For those id1..idN which appear in more than one files, only one item will appear in the
       final file, and its freq are summed. The idngram files are original generated by ids2ngram.

Example

       Following example merge 2 id3gram files into a large one:

           B<idngram_merge -n3 -o all.id3gram first.id3gram second.id3gram>

Name

       idngram_merge - merge idngram file into one

Options All The Following Options Are Mandatory.

-n, --NMaxN
           Specify the N-gram of source data file.

       -o, --outoutput-file
           Specify the final merged idngram file.

See Also

ids2ngram(1).

perl v5.36.0                                       2023-08-08                                   IDNGRAM_MERGE(1)

Synopsis

idngram_merge [option]... idngram_file...

See Also