jiebaR (version 0.10.99)

<=.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.

Examples

Run this code
# NOT RUN {
words = "hello world"
test1 = worker()
test1 <= words
# }

Run the code above in your browser using DataCamp Workspace