quanteda Questions
1
Solved
This is a new version of another question posted, now with a reproducible example.
I am trying to convert a document-feature-matrix from 29117 Tweets to a data frame in R, but get the error
"Erro...
2
Solved
I'm trying to use the packages quanteda and caret together to classify text based on a trained sample. As a test run, I wanted to compare the build-in naive bayes classifier of quanteda with the on...
Invalidism asked 29/1, 2019 at 17:57
1
Solved
My team is doing some topic modeling on medium-sized chunks of text (tens of thousands of words), using the Quanteda package in R. I'd like to reduce words to word stems before the topic modeling p...
Jujitsu asked 4/4, 2018 at 22:26
1
Solved
I am trying to work on tf-idf weighted corpus (where I expect tf to be a proportion by document rather than simple count). I would expect the same values to be returned by all the classic text mini...
Mangosteen asked 15/2, 2018 at 11:56
1
Solved
Since there is no ready implementation of stopwords for Polish in quanteda, I would like to use my own list. I have it in a text file as a list separated by spaces. If need be, I can also prepare a...
Fleecy asked 26/7, 2017 at 12:51
1
The removeCommonTerms function is found here for the TM package such that
removeCommonTerms <- function (x, pct)
{
stopifnot(inherits(x, c("DocumentTermMatrix", "TermDocumentMatrix")),
is.n...
2
Solved
I am trying to create a matrix mulptiplication with sparse matrix and with the package called quanteda, utilising data.table package, related to this thread here. So
require(quanteda)
mytext &l...
Algor asked 9/1, 2017 at 15:22
1
© 2022 - 2024 — McMap. All rights reserved.