Learn R Programming

chinese.misc (version 0.2.3)

DEFAULT_cutter: A Default Cutter

Description

This is simply a jiebar object created when the package is loaded. write is set to FALSE, so as to prevent segmented text from being automatically written into disk.

Usage

DEFAULT_cutter

Arguments

Format

An object of class jiebar (inherits from segment, jieba) of length 11.

Examples

Run this code
# NOT RUN {
require(jiebaR)
x <- c("drink a bottle of milk", 
  "drink a cup of coffee", 
 "drink some water")
seg_file(x, from = "v")
seg_file(x, from = "v", mycutter = DEFAULT_cutter)
# }

Run the code above in your browser using DataLab