loadDict: Load user defined dictionary

Description Usage Arguments Value Examples

Description

Load user defined dictionary by dictionary path.

Usage

1
loadDict(path)

Arguments

path

charater, file path of the dictionary, or folder path to load all the .dic files. The suffix of the dictionary should be ".dic". There should be only one word per line. Terms in each line should be separated by Tab, such as

Word POS Frequency

Value

No results.

Examples

1
2
3
4
5
## Not run: 
dic.path = system.file("library/default.dic", package = "ransj")
loadDict(dic.path)

## End(Not run)

Juntai/ransj documentation built on May 8, 2019, 4:42 p.m.