combMass: Combine the mass of words with the same root

Description Usage Arguments Details

View source: R/combMass.R

Description

Combine the mass of words with the same root

Usage

1
combMass(mod = NULL, vocab = NULL, beta = NULL)

Arguments

mod

Fitted structural topic models.

vocab

A character vector specifying the words in the corpus. Usually, it can be found in topic model output.

beta

A matrix of word probabilities for each topic. Each row represents a topic and each column represents a word. Note this should not be in the logged form.

Details

Use as a preparing step for validating unstemmed topic models.


Luwei-Ying/validateIt documentation built on May 12, 2021, 9:43 p.m.