typedgrammar/typed-japanese
🌸 Learn Japanese grammar with TypeScript
Leverages TypeScript's template literal types, conditional types, and mapped types to encode Japanese grammatical rules entirely at compile-time, enabling type-safe sentence construction and verification without runtime overhead. Supports comprehensive verb conjugation (Godan, Ichidan, irregular), adjective declensions, and phrase composition with particles, while exploring structured formats for LLM-assisted language analysis that can be validated through the type checker rather than relying on unverified JSON outputs.
1,920 stars. No commits in the last 6 months.
Stars
1,920
Forks
21
Language
TypeScript
License
MIT
Category
Last pushed
Mar 29, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/typedgrammar/typed-japanese"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
EmilStenstrom/conllu
A CoNLL-U parser that takes a CoNLL-U formatted string and turns it into a nested python dictionary.
OpenPecha/Botok
🏷 བོད་ཏོག [pʰøtɔk̚] Tibetan word tokenizer in Python
taishi-i/nagisa
A Japanese tokenizer based on recurrent neural networks
zaemyung/sentsplit
A flexible sentence segmentation library using CRF model and regex rules
natasha/razdel
Rule-based token, sentence segmentation for Russian language