Topic Modeling with 'BERTopic'
Save a BERTopic model
Quick self-check for the BERTopic R interface
Summarize Python/BERTopic session info
Replace or set the embedding model
Relabel topics
Get top terms for a topic
Compute topics over time
Get topic info as a tibble
Transform new documents with a fitted BERTopic model
Update topic representations
Visualize a topic barchart
BERTopic: Topic Modeling with 'BERTopic'
Coefficients (top terms) for BERTopic
Check Python availability and required modules at runtime (lazy init)
Fortify method for ggplot2
Return the Python environment name used by BERTopic
Install Python dependencies for BERTopic (Conda route)
Install Python dependencies for BERTopic (virtualenv route)
Install Python dependencies for BERTopic (auto route)
Predict method for BERTopic models
Print method for bertopic_r
Set random seed for R and Python backends
Summary for BERTopic models
Bind current R session to a BERTopic Conda environment
Bind current R session to a BERTopic virtualenv
Bind current R session to the BERTopic environment (auto route)
Representative documents for a topic
Does the model have a usable embedding model?
Load a BERTopic model
Reduce/merge topics
Coerce to data.frame
Coerce to a document-topic probability matrix
Is Python + BERTopic available?
Find nearest topics for a query string
Fit BERTopic from R
Document-level information
Visualize topic probability distribution
Visualize embedded documents
Visualize topic similarity heatmap
Visualize hierarchical documents and topics
Visualize hierarchical clustering of topics
Visualize term rank evolution
Visualize topics over time
Visualize topics per class
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.