knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
tmutilsr provides text processing utilities and extends basic R text mining packages, such as topicmodels and stm, with commonly used processing functions
Topic modeling utilities (basic package topicmodels)
lda_trim_beta
- trims LDA beta table by terms and/or topicslda_table_topics
- spreads the term distribution over topics by topiclda_list_docs
- lists documents by their lead topicText cleanup utilities
tm_stem2readable
- transforms stemmed words to a readable formattm_make_corpus
- Create a clean, stemmed and tidy corpusURL scraping utilities
scrape_text
- scrapes text of a specific node tag in a given URLThe package is currently not availabel on CRAN
This is a basic example which shows you how to solve a common problem:
## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.