Welcome to Penman’s documentation!#

The Penman package is a library for working with graphs in the PENMAN format. Its primary job is thus parsing the serialized form into an internal graph representation and format graphs into the serialized form again. Once parsed, the graphs can be inspected and manipulated, depending on one’s needs.

The interpretation of PENMAN into the internal graph depends on a semantic model. The default model works in most cases, but for people working with Abstract Meaning Representation (AMR) data, the AMR model will allow them to perform operations in a way that follows the principles of AMR. Users may also define custom models if they need more control.

Indices and tables#