R-lda icon indicating copy to clipboard operation
R-lda copied to clipboard

lexicalize does not handle newer versions of tm package

Open slycoder opened this issue 11 years ago • 0 comments

From Uros Godnov:

Here is the code. Meanwhile I've already detected the problem. Almost everytime I use LDA package with tm package. The latest version of tm package changed the corpus output. Previously meta data in corpus (tmp_map function) was present only at master level, now meta data is also present at a row level.

This is my solution doc =sapply(as.list(doc), function(x) (x[[1]])) before lexicalize(doc)

slycoder avatar Oct 06 '14 01:10 slycoder