insertWords: Insert new words into dictionary.

Description Usage Arguments Value Author(s)

Description

Insert new words into dictionary.

Usage

1
2
3
4
  insertWords(strwords,
    analyzer = get("Analyzer", envir = .RwordsegEnv),
    strtype = rep("userDefine", length(strwords)),
    numfreq = rep(1000, length(strwords)), save = FALSE)

Arguments

strwords

Vector of words.

analyzer

A JAVA object of analyzer.

strtype

The type of the nature of word.

numfreq

The frequency of the word.

save

Whether to save to dictionary.

Value

No results.

Author(s)

Jian Li <rweibo@sina.com>


OOmegaPPanDDa/Rwordseg documentation built on May 7, 2019, 8:55 p.m.