Update package version to 1.0.4
[platform/core/uifw/ise-engine-sunpinyin.git] / doc / idngram_merge.pod
1 =head1 NAME
2
3 idngram_merge - merge idngram file into one
4
5 =head1 SYNOPSIS
6
7 B<idngram_merge> [I<option>]... I<idngram_file>...
8
9 =head1 DESCRIPTION
10
11 B<idngram_merge> merge multiple idngram file, each of them are sorted
12 [id1,...,idN,freq] array, into one idngram file. For those id1..idN which 
13 appear in more than one files, only one item will appear in the final file, 
14 and its freq are summed. The idngram files are original generated by 
15 B<ids2ngram>.
16
17 =head1 OPTIONS
18 All the following options are mandatory.
19
20 =over 4
21
22 =item B<-n>, B<--NMax> I<N>
23
24 Specify the N-gram of source data file.
25
26 =item B<-o>, B<--out> I<output-file>
27
28 Specifiy the final merged idngram file.
29
30 =back
31
32
33 =head1 EXAMPLE
34
35 Following example merge 2 id3gram files into a large one:
36
37     B<idngram_merge -n3 -o all.id3gram first.id3gram second.id3gram>
38
39 =head1 AUTHOR
40
41 Originally written by Phill.Zhang E<lt>phill.zhang@sun.comE<gt>.
42 Currently maintained by Kov.Chai E<lt>tchaikov@gmail.comE<gt>.
43
44 =head1 SEE ALSO
45
46 B<ids2ngram>(1).
47