Installing aat

Package design

The aat package is deliberately split into two independent modules:

  • aat.core implements the AAT model with classes for input of citable text (CitableToken/CitedPassage), and output of a syntax graph (AATNode/AATGraph). It includes functions to validate and serialize analyses to a plain-text format.
  • aat.english uses a language model configured with dspy to tokenize English text and compose an AATGraph.

Installing

Install the core module directly from this repository:

pip install aatgraph

To also run the English AAT pipeline (tokenizing and analyzing passages with an LM via dspy):

pip install "aatgraph[english]"