#6666th of 69 in Data and scraping for AIFor data and documents, data analysis

scattertext

Python library that plots distinguishing terms between text corpora as interactive HTML

Stars
2.4k
License
Apache-2.0
Last commit
Jul 2026
Last release
Mar 2017
Language
Python
Stars, last 29 weeks+29
25 Apr 2026: 2,322 stars2 May 2026: 2,323 stars9 May 2026: 2,324 stars16 May 2026: 2,325 stars23 May 2026: 2,325 stars30 May 2026: 2,325 stars6 Jun 2026: 2,325 stars13 Jun 2026: 2,326 stars20 Jun 2026: 2,326 stars27 Jun 2026: 2,327 stars4 Jul 2026: 2,328 stars11 Jul 2026: 2,330 stars18 Jul 2026: 2,332 stars25 Jul 2026: 2,334 stars1 Aug 2026: 2,335 stars8 Aug 2026: 2,338 stars15 Aug 2026: 2,339 stars22 Aug 2026: 2,339 stars29 Aug 2026: 2,340 stars5 Sept 2026: 2,341 stars12 Sept 2026: 2,342 stars19 Sept 2026: 2,342 stars26 Sept 2026: 2,342 stars3 Oct 2026: 2,343 stars10 Oct 2026: 2,344 stars17 Oct 2026: 2,344 stars24 Oct 2026: 2,345 stars31 Oct 2026: 2,348 stars7 Nov 2026: 2,350 stars14 Nov 2026: 2,351 stars

2,322 on 25 Apr 20262,351 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Scattertext is a Python library that scores which words and phrases are characteristic of one document category versus another, then writes a standalone interactive HTML scatter plot with non-overlapping point labels. It includes scoring methods such as Scaled F-Score, Cohen's d, Cliff's Delta and Bi-Normal Separation, plus dispersion metrics. A `scattertext` command-line tool handles CSV input without writing Python.

Who it is for: Data scientists and linguists comparing vocabulary across text categories

Strengths

  • Outputs a self-contained HTML file with zoom, click-through term stats and non-overlapping labels
  • Many term scoring options: Scaled F-Score, Cohen's d, Cliff's Delta, BNS, dispersion measures
  • Runs without spaCy using a regex-based whitespace tokenizer
  • CLI analyzes a CSV with text and category columns, no Python needed

Weaknesses

  • Classical corpus statistics; no LLM integration, so not an LLM-era tool
  • Last tagged release is 2017-03-13 although commits continue
  • Full feature set needs optional packages: spacy, gensim, empath, umap-learn, jieba, flashtext
  • README recommends Chrome or Safari for viewing output; docs are a work in progress

What it needs

  • no GPU
  • Needs Python 3.11+, spacy (optional), gensim (optional), empath (optional), umap-learn (optional), jieba (optional), flashtext (optional), astropy (optional)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Data and scraping for AI

See all 69
Also in Data and scraping for AI
RankProjectScore
1mineruParses PDFs, images and Office files into Markdown and structured JSON Live demo ↗ (opens in a new tab)83.9k starscustom license91 out of 100
2doclingPython library that converts PDFs, Office files and more into structured text70.7k starsMIT91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.3k starsApache-2.091 out of 100
#4agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms112.8k starsMIT88 out of 100
#5markitdownPython library and CLI that converts office files, PDFs and audio to Markdown196.2k starsMIT87 out of 100