BERTopic0.1.0 package

Topic Modeling with 'BERTopic'

bertopic_save

Save a BERTopic model

bertopic_self_check

Quick self-check for the BERTopic R interface

bertopic_session_info

Summarize Python/BERTopic session info

bertopic_set_embedding_model

Replace or set the embedding model

bertopic_set_topic_labels

Relabel topics

bertopic_topic_terms

Get top terms for a topic

bertopic_topics_over_time

Compute topics over time

bertopic_topics

Get topic info as a tibble

bertopic_transform

Transform new documents with a fitted BERTopic model

bertopic_update_topics

Update topic representations

bertopic_visualize_barchart

Visualize a topic barchart

BERTopic-package

BERTopic: Topic Modeling with 'BERTopic'

coef.bertopic_r

Coefficients (top terms) for BERTopic

dot-need_py

Check Python availability and required modules at runtime (lazy init)

fortify.bertopic_r

Fortify method for ggplot2

get_py_env

Return the Python environment name used by BERTopic

install_py_deps_conda

Install Python dependencies for BERTopic (Conda route)

install_py_deps_venv

Install Python dependencies for BERTopic (virtualenv route)

install_py_deps

Install Python dependencies for BERTopic (auto route)

predict.bertopic_r

Predict method for BERTopic models

print.bertopic_r

Print method for bertopic_r

set_bertopic_seed

Set random seed for R and Python backends

summary.bertopic_r

Summary for BERTopic models

use_bertopic_condaenv

Bind current R session to a BERTopic Conda environment

use_bertopic_virtualenv

Bind current R session to a BERTopic virtualenv

use_bertopic

Bind current R session to the BERTopic environment (auto route)

bertopic_get_representative_docs

Representative documents for a topic

bertopic_has_embedding_model

Does the model have a usable embedding model?

bertopic_load

Load a BERTopic model

bertopic_reduce_topics

Reduce/merge topics

as.data.frame.bertopic_r

Coerce to data.frame

bertopic_as_document_topic_matrix

Coerce to a document-topic probability matrix

bertopic_available

Is Python + BERTopic available?

bertopic_find_topics

Find nearest topics for a query string

bertopic_fit

Fit BERTopic from R

bertopic_get_document_info

Document-level information

bertopic_visualize_distribution

Visualize topic probability distribution

bertopic_visualize_documents

Visualize embedded documents

bertopic_visualize_heatmap

Visualize topic similarity heatmap

bertopic_visualize_hierarchical_documents

Visualize hierarchical documents and topics

bertopic_visualize_hierarchy

Visualize hierarchical clustering of topics

bertopic_visualize_term_rank

Visualize term rank evolution

bertopic_visualize_topics_over_time

Visualize topics over time

bertopic_visualize_topics_per_class

Visualize topics per class

bertopic_visualize_topics

Visualize topic map

Interface to the Python package 'BERTopic' <https://maartengr.github.io/BERTopic/index.html> for transformer-based topic modeling. Provides R wrappers to fit BERTopic models, transform new documents, update and reduce topics, extract topic- and document-level information, and generate interactive visualizations. 'Python' backends and dependencies are managed via the 'reticulate' package.

  • Maintainer: Biying Zhou
  • License: MIT + file LICENSE
  • Last published: 2026-01-26