Natural Language Processing

BERTopic – topic modeling

BERTopic is a Python package for topic modeling that uses transformer-based embeddings and class-based TF-IDF to create dense document clusters with interpretable topic descriptions.

It’s designed for extracting themes from collections of text documents, while offering flexible configuration for embeddings, dimensionality reduction, clustering, tokenization, topic weighting, and representation models.

This is free and open source software.

Key Features

  • Supports guided, supervised, semi-supervised, manual, hierarchical, dynamic, online, multimodal, zero-shot, and class-based topic modeling.
  • Provides methods to fit models, transform new documents, inspect topics, retrieve representative documents, merge topics, reduce topics, and reduce outliers.
  • Includes visualization tools for topics, documents, hierarchies, heatmaps, term scores, topic distributions, and topics over time.
  • Supports multiple embedding models and configurable clustering, vectorisation, weighting, and topic representation components.
  • Supports custom topic representations, including KeyBERT-inspired representations and LLM-based labels or summaries.

Website: github.com/MaartenGr/BERTopic
Support:
Developer: Maarten P. Grootendorst
License: MIT License

BERTopic is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Natural Language Processing Tools
PyTorch-TransformersLibrary of state-of-the-art pre-trained models for NLP
NLTKNatural Language Toolkit
spaCyIndustrial strength natural language processing
scikit-learnMachine learning library
HaystackAI orchestration framework
GensimVector space modeling and topic modeling toolkit
flairSimple framework for state-of-the-art NLP
TextBlobPython (2 and 3) library for processing textual data
doccanoData labelling and text annotation platform
BERTopicTopic modeling
textacyPython library for performing NLP tasks
PresidioData protection and de-identification SDK
polyglotMultilingual text (NLP) processing toolkit
AllenNLPApache 2.0 NLP research library
Snips NLUNatural Language Understanding Python library
PyNLPIVarious modules useful for common, and less common, NLP tasks
nlpnetNatural Language Processing with neural networks
PatternWeb mining module
GluonNLPDeep Learning for NLP
PyTorch-NLPNeural network layers, text processing modules and datasets
NLP ArchitectDeep Learning NLP/NLU library

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted