{"repo":"typedgrammar/typed-japanese","free":true,"listed":false,"github":"https://github.com/typedgrammar/typed-japanese","clone":"git clone https://github.com/typedgrammar/typed-japanese.git","description":"🌸 Learn Japanese grammar with TypeScript","language":"TypeScript","stars":1945,"topics":["japanese","language-learning","typescript","computational-linguistics","dsl","grammar","japanese-grammar","nlp","type-level-programming","type-system"],"license":"MIT","category":"machine-learning","readme_excerpt":"🌸 Typed Japanese If you can write TypeScript, you can understand Japanese! 🌸 New: Interactive Playground → — an in-browser TypeScript editor where the compiler resolves conjugations live, plus a Verb Lab, Adjective Lab, Phrase Builder, and Sentence Gallery. (source · run locally with cd playground && pnpm install && pnpm dev ) Typed Japanese is a TypeScript type-level library that enables the expression of complete Japanese sentences through the type system. It creates a domain-specific language (DSL) based on Japanese grammar rules, allowing a subset of grammatically correct natural language to be written and verified using TypeScript's compiler. This project also explores an intermediate format for AI in language learning. For example, LLMs could return grammar analysis of Japanese sentences using this format instead of JSON, enabling verification through TypeScript's type checker to improve correctness. 📖 Want to learn more? Check out our detailed blog post which explains how the TypeScript type system can be used to learn Japanese grammar from the ground up. The article starts with basic programming concepts and gradually builds up to complex Japanese grammatical structures like conditional sentences and interrogative phrases. 🤖 Verb System Verb Classes Japanese verbs are categorized into three main classes: 1. Godan Verbs (五段動詞) - Also known as \"Group 1\" or \"u-verbs\" - Endings: う, く, ぐ, す, つ, ぬ, ぶ, む, る - Examples: 話す (hanasu - to speak), 書く (kaku - to write) 2. Ichi","default_branch":null,"files":null,"tree":[],"storefront":"/r/typedgrammar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/typedgrammar/typed-japanese/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}