Tutorials
Prerequisites
Install arsgrammatica:
pip install git+https://github.com/neelsmith/arsgrammatica.gitConfigure your language model in a .env file ilke this:
API_BASE=https://serviceprovider
MODEL=litellm_proxy/Claude Opus 5
API_KEY=your_keyPreassembled resources
Interactive notebooks
- marimo notebooks for syntax analysis
Scripts to analyze texts
- interactively analyze a passage of Latin with a command-line script
- analyze multiple passages of Latin from command-line scripts
Scripts to diagram syntax
- diagram a save analyses with graphviz
- generate PNG diagrams from multiple saved analyses with graphviz
Using arsgrammatica in your own python programs
- Quickest possible start to querying a language model