Insert new words into dictionary.

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>