Skip to main content

Glossary job pack for Tessera: extract a project's vocabulary and flag terminology drift.

Project description

tesserakit-glossary

Extract a project's vocabulary and flag terminology drift.

tessera-glossary treats a codebase as a corpus. It tokenizes identifiers (splitting snake_case, kebab-case, and camelCase) and doc text into words, builds a frequency-ranked glossary of the project's domain terms, and — the distinctive part — detects where the same concept is written more than one way (config vs cfg vs conf, message vs msg, repository vs repo). No execution; pure static reading.

This is the project's ubiquitous language, surfaced and audited — something teams rarely look at directly.

Build

tessera glossary build --input . --output ./out/glossary_pack

Artifacts written:

glossary.jsonl           one Term per word (count, in-code, in-docs, examples)
index.md                 the top domain terms
validation_report.md     terminology-inconsistency findings
coverage_report.md       code-only vs doc-only vs shared vocabulary
inconsistencies.md       concepts written multiple ways, with a recommended form

How drift is detected

A curated abbreviation map links short forms to canonical concepts (cfg/conf/configurationconfig). When more than one form of a concept appears in the codebase, the concept is reported with each form's frequency and a recommended canonical spelling (the most frequent one).

Findings

  • terminology_inconsistency — a concept is spelled multiple ways; standardize on one
  • no_vocabulary — nothing extracted

Why it matters

Inconsistent vocabulary makes a codebase hard to search (grep config misses cfg), hard to read, and a sign of drifting domain understanding. The coverage_report.md also separates terms that appear only in code (possibly undocumented concepts) from those only in docs (possibly stale or aspirational).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_glossary-0.4.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_glossary-0.4.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_glossary-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_glossary-0.4.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_glossary-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ec64456af74eaae28ffbb04579f6ae00c88d82a65d3edf885524fbcadc5bbe1e
MD5 dfe4b4dddee572a7f8da126c3d708a32
BLAKE2b-256 6a2ea5f92803e0b9709950f582e344ee2fd13adfcd55fd8bb42211dd55337db7

See more details on using hashes here.

File details

Details for the file tesserakit_glossary-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_glossary-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52b9fbe61915e46d44e8587922948ba9064f67a79387011b8938b0714314ee76
MD5 59660d63fc11922a86dcfb0e1186c1f0
BLAKE2b-256 fe4036d3f27a64db9d2f7190c7c67257487faa7bcad2bdae8e5b7840f22841c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page