Learn R Programming

BERTopic (version 0.1.0)

bertopic_topic_terms: Get top terms for a topic

Description

Get top terms for a topic

Usage

bertopic_topic_terms(model, topic_id, top_n = 10L)

Value

A tibble with columns term and weight

Arguments

model

A "bertopic_r" model

topic_id

Integer topic id

top_n

Number of top terms to return