Questions tagged «tm»

3
如何拼合列表列表?
该tm包扩展c,使得如果给定一组PlainTextDocument的IT自动创建Corpus。不幸的是,似乎每个都PlainTextDocument必须单独指定。 例如,如果我有: foolist <- list(a, b, c); # where a,b,c are PlainTextDocument objects 我这样做是为了获得Corpus: foocorpus <- c(foolist[[1]], foolist[[2]], foolist[[3]]); 我有一个的清单'PlainTextDocument,看起来像这样: > str(sectioned) List of 154 $ :List of 6 ..$ :Classes 'PlainTextDocument', 'TextDocument', 'character' atomic [1:1] Developing assessment models Developing models .. .. ..- attr(*, "Author")= chr "John Smith" .. …
72 r  list  tm 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.