insertWords: Insert new words into dictionary.

Description Usage Arguments Value Author(s)

View source: R/insertWords.R

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>


Rwordseg documentation built on May 31, 2017, 4:02 a.m.

Search within the Rwordseg package
Search all R packages, documentation and source code