TextAnalysisR provides text analysis through an interactive Shiny app or R code.
Language support
Primary language: English. Preprocessing and STM are language-agnostic (stopwords for 50+); embeddings and AI features can be multilingual; spaCy and the sentiment lexicons are English-only.
Install
install.packages("TextAnalysisR")Quick Example
library(TextAnalysisR)
mydata <- SpecialEduTech
united_tbl <- unite_cols(mydata, listed_vars = c("title", "keyword", "abstract"))
tokens <- prep_texts(united_tbl, text_field = "united_texts")
dfm_object <- quanteda::dfm(tokens)
plot_word_frequency(dfm_object, n = 20)
