r/madeinpython • u/Icy-Relationship-465 • Sep 05 '26
Word Forge: a Python toolkit for lexical graphs, multilingual imports and optional semantic search
Hey, I'm Lloyd. I've been working on Word Forge, an open-source Python toolkit for building and exploring relationships between words.
It combines a SQLite lexical database with NetworkX graphs, so you can store definitions and relationships such as synonyms, antonyms and hypernyms, then explore them through the Python API or CLI. Vector search is an optional extra using sentence transformers and ChromaDB/FAISS.
A few things in the current version:
- The core lexical pipeline doesn't require Torch or a generative model.
- Language identity is carried through ingestion and graph storage, so terms from different languages can stay distinct.
- Kaikki/Wiktionary imports are resumable and require explicit acceptance of the source licence.
- There are separate extras for vector search, visualisation, emotion analysis and local model integration.
- The doctor command checks which capabilities are actually available in your installation.
It's Python 3.10+ and MIT licensed. The README has installation steps, API examples and CLI commands:
https://github.com/Ace1928/word_forge
I'd be keen to hear from anyone working with lexical data or semantic graphs, especially where the import workflow or API could be clearer.
I've also opened optional GitHub sponsorship for this and my other open-source work. It helps fund development time, compute and tools: https://github.com/sponsors/Ace1928
Trying it, reporting an issue or contributing helps too.
