tag_freely: Group documents by unknown topic

Description Usage Arguments Value

View source: R/tag_freely.R

Description

Assign topics to documents when there is no scheme or prior knowledge for classifying documents other than number of topics.

Usage

1
tag_freely(docs, k = 3, ngrams = TRUE, n_terms = 10)

Arguments

docs

a character vector of documents

k

numeric: how many groups should be created

ngrams

logical: if TRUE, groups documents using ngrams (i.e. multi-word phrases) instead of single terms

n_terms

numeric: how many terms should be returned for each topic

Value

a vector of topic numbers and associated terms for users to post-hoc classify


elizagrames/topictagger documentation built on Jan. 1, 2021, 12:16 a.m.