Skip to content

lexicalize does not handle newer versions of tm package #4

Description

@slycoder

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions