R/tokenizer.R

Defines functions cn_scan_tokenizer cn_MC_tokenizer

cn_scan_tokenizer <- function(x, cws="mmseg4j"){
    cws <- match.fun("mmseg4j")
    tokens <- scan_tokenizer(cws(x))
    tokens
}


cn_MC_tokenizer <- function(x, cws="mmseg4j"){
    cws <- match.fun("mmseg4j")
    tokens <- MC_tokenizer(cws(x))
    tokens
}

Try the RQDAtm package in your browser

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

RQDAtm documentation built on May 2, 2019, 5:16 p.m.