Description Usage Arguments Details Value Note Author(s) Examples
Chinese word segmentation based on mmseg4j
1 |
text |
A string vector |
method |
Method of segmentation |
dicDir |
Directory of user provided dictionary. If NULL, it sets to userDic in the root besides the default dictionaries. |
It is a wrapper function to a Java Chinese analyser mmseg4j-1.8.4 http://code.google.com/p/mmseg4j/, which works for simplified Chinese only.
A string vector similar to text, with space between Chinese words.
This functin requires Java Runtime Environment (build 1.6.0_21-b07) or later.
Ronggui HUANG
1 2 3 4 | ## Use the following command to open the example file
## then you can copy and paste the commands into R
## file.show(file.path(path.package("rmmseg4j"),"mmseg4jExample.R"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.