idngram_merge(1)

idngram_merge1

Merge idngram file into one

Usage

idngram_merge [option] ... idngram_file ...

Overview

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.

OPTIONS All the following options are mandatory.

-n, --NMax N

Specify the N-gram of source data file.

-o, --out output-file

Specify the final merged idngram file.

Examples

Following example merge 2 id3gram files into a large one:

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

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Author

Originally written by Phill.Zhang <[email protected]>. Currently maintained by Kov.Chai <[email protected]>.

From sunpinyin 3.0.0rc2-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.