Skip to content

Error in DocumentTermMatrix #1

@CASH3097

Description

@CASH3097

I am getting an error with the DocumentTermMatrix used as indicated in the book:

dtm = DocumentTermMatrix(docs)
Error in simple_triplet_matrix(i, j, v, nrow = length(terms), ncol = length(corpus), :
'i, j' invalid
Can you please indicate how to solve it.
Thank you

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