MMSEG(1) User Contributed Perl Documentation MMSEG(1)
>>> (NAME)
mmseg - >>>>>>>> >>>>>>> >>>>
>> >>>>>>>> >>>>>> >>>>>
(maximum matching).
>>>>> >>>>> (SYNOPSIS)
mmseg -d dict_file [option]... [corpus_file]...
>>>>>>> (DESCRIPTION)
mmseg >>>>>> >>>> >>>>>>>>
>>> >>>> >> >>>>> >>
>>>>>>> >> >>>>>>>>
>>>>>> >>>>> (maximum matching) >>>. mmseg
>>>> >>>>> >>>> (corpus_file)> >>
>> >>>> >>>> >>>> >>> >>>>>
>>>>> >>>>>>>>> >> >>>>>
>>>> > >>>>> >>>>>>>>>>>>
>> >> >>>>> >>>>>>>>>
>>>>>>>>.
>>>>>>>> (OPTIONS)
-d dict_file
>>>>>>> >> dict_file >> >>>>>
>>>>>>>>> (lexicon). >>>>>>>>>
>>>>>>> >> >>>>
/usr/share/sunpinyin-slm/dict.utf8 >>>> >>>>>>.
-f,--format (text|bin)
>>>> >>>>>> >>>>>>>> 'text'
>> 'bin' >>>>. >>>>>>> 'bin' >>>.
>>>>>>> >> >>>> >>>>> >>>
>>>>> >> >>>>> >>>>
>>>>>>>> >> >>>> >> >>
>>>> >>>>>>> >>>>>>>>>
>>>> (word-ids) >> >>>> >>> >>>>
>>>>> >>>>>> (short integer) >> stdout
>>>>> >>>>>>>.
-s, --stok STOK_ID
>>>>> >>>>>>> >>>> (Sentence token
id). >>>>>>> 10 >>>. >>> >>>>>
>> >>>> >>>>>> >> >> >>
>>>> >> >>>>> >>>>>
>>>>>>.
-i, --show-id
>>>>> >>>>>>> >>>>> (Id). >>
>>>> >>>> >>>>> >>>>>
>>>>> >> >> >>>>>
>>>>>>>>>> >>>>> >>>>>>.
>>> >> >>>> >>>>>> >>>>>
>>>>>>>> >> >> >>>> >>>>
>>> >>>>>>.
-a, --ambiguious-id AMBI-ID
>>>>> (Ambiguious) >> >>>>>
>>>>>> >>>>> ABC => A BC >> AB C
>>>. >> >>>> >>>>> >>> (AMBI-ID
!= 0)> >>>>> ABC >>>>>>>>
>>>>>> >>> >> >>>>
>>>>>>> AMBI-ID >> >>>>>
>>>>> >>>>>>> >> >>>>
>>>>> >>>>> >> >>> "ABC"
>>>>> >>>. >>>>>>> 0 >>>.
>>>> (NOTES)
>> >>>> binary> >>>>>>>>> 0
>>>>>> >> >> 0 >>>>>
>>>>>>>. >> >>>> text> >>>
>>>>>>>> >>>> >>>>>
>>>>>>>> >>> >>>>>>>.
>>>>>>>>> (AUTHORS)
>>>>> >>>>> >>>> Phill.Zhang
. >> >>> >>>> >>>>
Kov.Chai >>>>>>> >>>>>>.
>>>>>> >>>>>> (SEE ALSO)
slmseg(1), ids2ngram(1).
perl v5.38.2 2024-07-13 MMSEG(1)