loadAmbiguity: Load user defined ambiguity dictionary

Description Usage Arguments Value Examples

Description

Load user defined ambiguity dictionary by dictionary path.

Usage

1

Arguments

path

charater, file path of the dictionary. 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:

ChineseWords FirstSegmentWord POS SecondSegmentWord POS ...

Value

No results.

Examples

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

## End(Not run)

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