smartcn: A R interface to the Chinese word segmentation system of...

Description Usage Arguments Details Value Author(s) Examples

Description

A Chinese word segmentation based on the Chinese analyser lucene-smartcn-3.4.0

Usage

1
smartcn(text, useStopWord = TRUE)

Arguments

text

A string vector

useStopWord

Whether use the default stop words

Details

It is a wrapper function to a Java Chinese analyser lucene-smartcn-3.4.0.jar. It supports CHS only. CHT should be converted to CHS first.

Value

A string vector similar to text, with space between Chinese words.

Author(s)

Ronggui HUANG

Examples

1
2
3
4
5
## The example will cause error in latex, so I put it in a demo.
## Not run: 
demo(smartcn,ask=FALSE)

## End(Not run)

rsmartcn documentation built on May 2, 2019, 4:53 p.m.

Related to smartcn in rsmartcn...