Learn R Programming

rJST

Implementation of Joint Sentiment Topic Modelling (Lin and He) for R.

How to use

Install using:

library(devtools)
install_github('maxboiten/rJST')

Contains functions for jst and reverse jst. They can be called with as primary argument a dfm object as provided by Quanteda. The dictionary arguments accepts quanteda dictionary objects. See quanteda documentation for more info.

References

See linron84/JST.

Copy Link

Version

Install

install.packages('rJST')

Monthly Downloads

28

Version

1.3

License

GPL-3

Maintainer

Max Boiten

Last Published

February 13th, 2020

Functions in rJST (1.3)

get_parameter

Get parameter from (reversed) JST results
top20words

Show top 20 words for topics/sentiments
topNwords

Show top N words for topics/sentiments
JST.result-class

JST results object
rJST-package

rJST: Joint Sentiment Topic modelling for R
dictionary_wordstem

Wordstem a quanteda Dictionary2 object
is.JST_reversed.result

Check if an object is a JST_reversed.result object
is.JST.result

Check if an object is a JST.result object
paradigm

Paradigm word list (Lin and He, 2009, p.379)
JST_reversed.result-class

Reverse JST results object
jst

Run a Joint Sentiment Topic model
jst_reversed

Run a reversed Joint Sentiment Topic model