setAnalyzer: Set the default analyzer.

Description Usage Arguments Value Examples

View source: R/setAnalyzer.R

Description

The default analyzer is 'hmm', which is implemented by native R codes and still in development. You can use 'jiebaR' instead. Or 'coreNLP' to invoke Stanford CoreNLP. Or choose 'fmm' to try the forward maximum matching algorithm.

Usage

1
2
setAnalyzer(analyzer = c("hmm", "jiebaR", "fmm", "coreNLP"),
  coreNLPdir = "")

Arguments

analyzer

One of 'jiebaR', 'hmm', 'fmm' and 'coreNLP'.

coreNLPdir,

Set the coreNLP file path, only use for 'coreNLP'.

Value

No results.

Examples

1
setAnalyzer("hmm")

Rwordseg documentation built on Aug. 23, 2019, 9:03 a.m.