Learn R Programming

BERTopic (version 0.1.0)

bertopic_update_topics: Update topic representations

Description

Call Python BERTopic.update_topics() to recompute topic representations.

Usage

bertopic_update_topics(model, text)

Value

The input model (invisibly), updated in place on the Python side.

Arguments

model

A "bertopic_r" model.

text

Character vector of training documents used in fit.