runSits: Runs SITS model

Description Usage Arguments Value References

View source: R/runSits.R

Description

Runs locally saved SITS model by calling commands to the Terminal using the RStudio API package.

Usage

1
2
runSits(sitsPath, corpusName, sitsCorpusPath, outputPath, K, alpha, beta, gam,
  burnIn, maxIter, sampleLag)

Arguments

sitsPath

Path to locally saved SITS package.

corpusName

Name of corpus (specified in prepConversations function)

sitsCorpusPath

Path to prepared SITS corpus (specified in prepConversations function)

outputPath

Desired path of SITS model output

K

Number of topics

alpha

Hyperparameter for Dirichlet prior on document topic proportions

beta

Hyperparameter for Dirichlet prior on topic word probabilities

gam

Hyperparameter for Beta prior on speaker topic shift behavior

burnIn

Number of burn in iterations

maxIter

Maximum number of iterations

sampleLag

Number of iterations to lag sample collection

Value

List indicating user provided model specifications and the path where SITS results were saved locally.

References

Nguyen, Viet-An, Jordan Boyd-Graber and Philip Resnik. 2012. SITS: A hierarchical nonparametric model using speaker identity for topic segmentation in multiparty conversations. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Long Papers-Volume 1. Association for Computational Linguistics pp. 78<e2><80><93>87.

Nguyen, Viet-An, Jordan Boyd-Graber, Philip Resnik, Deborah A Cai, Jennifer E Midberry and Yuanxin Wang. 2014. <e2><80><9c>Modeling topic control to detect influence in conversations using nonparametric topic models.<e2><80><9d> Machine Learning 95(3):381<e2><80><93>421.

Nguyen, Viet-An. 2014. <e2><80><9c>Speaker Identity for Topic Segmentation (SITS).<e2><80><9d> https://github.com/vietansegan/sits.


erossiter/sitsr documentation built on May 23, 2019, 7:34 a.m.