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')
DataScienceSalon/predictifyR.3.0 documentation built on May 23, 2019, 8:25 p.m.