Learn R Programming

jiebaR (version 0.11.1)

<=.segment: Text segmentation symbol

Description

Text segmentation symbol to cut words.

Usage

# S3 method for segment
<=(jiebar, code)

# S3 method for segment [(jiebar, code)

Arguments

jiebar

jiebaR Worker.

code

A Chinese sentence or the path of a text file.

Author

Qin Wenfeng <http://qinwenfeng.com>

Examples

Run this code
if (FALSE) {
words = "hello world"
test1 = worker()
test1 <= words}

Run the code above in your browser using DataLab