Install the dependencies by running poetry install in the directory.
If you do not have poetry installed, follow the instructions in the documentation: https://python-poetry.org/docs/
- Summarize the grammar: Run
grammar.pyto summarize the grammar book. - Summarize the dictionary: Run
summarizer.pyto extract the dictionary entries in the structured output. - Retrieve the dictionary examples: Run
retriever.pyto extract the relevant dictionary entries and example sentences. Make sure that you have the dictionary summarized already. - Translate: Run
translator.pyto translate a sentence of your target language.