Learn R Programming

jiebaR (version 0.8.1)

edit_dict: Edit default user dictionary

Description

Edit the default user dictionary.

Usage

edit_dict(name = "user")

Arguments

name
the name of dictionary including user, system, stop_word.

Details

There are three column in the system dictionary. The first column is the word, and the second column is the frequency of word. The third column is speech tag using labels compatible with ictclas.

There are two column in the user dictionary. The first column is the word, and the second column is speech tag using labels compatible with ictclas. Frequency of every word in the user dictionary will be the maximum number of the system dictionary. If you want to provide the frequency of a new word, you can put it in the system dictionary.

References

The ictclas speech tag : http://t.cn/RAEj7e1