R/DEFAULT_cutter.R

#' A Default Cutter
#'
#' This is simply a jiebar object created when the package is loaded. 
#' \code{write} is set to \code{FALSE}, so as to prevent segmented text from 
#' being automatically written into disk.
#'
#' @export
#' @examples
#' 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)
DEFAULT_cutter <- jiebaR::worker(write = FALSE)

Try the chinese.misc package in your browser

Any scripts or data that you put into this service are public.

chinese.misc documentation built on Sept. 13, 2020, 5:13 p.m.