tests/testTokenizer.R

td <- c("This isn't the New-York James' hotel!")
td1 <- quanteda::tokenize(td, what = 'word')
td2 <- quanteda::tokenize(td, what = 'fasterword')
td3 <- quanteda::tokenize(td, what = 'fastestword')
j2scode/predictifyR documentation built on May 14, 2019, 10:34 a.m.