Open signebedi opened 9 months ago
My sense is that we can probably add the overrides as an option in corpora.json. I am not sure yet whether we want to define pre-set corpus design patterns, or whether we want to simply let users define their own. Probably both, though it might make sense to implement the latter option first, and then to grandfather well-written overrides into presets within the gita/ library and add a relevant test suite. See below for an example application structure.
.
├── gita
│ └── __init__.py
│ └── presets.py # <<<< Add this here
├── tests
│ ├── __init__.py
│ ├── __main__.py
│ ├── test_flask_app.py
│ └── test_gita_api.py
│ └── test_gita_presets.py # <<<< Add this here
Originally posted by @signebedi in https://github.com/signebedi/gita-api/issues/35#issuecomment-1925830506