penman icon indicating copy to clipboard operation
penman copied to clipboard

PENMAN notation (e.g. AMR) in Python

Results 16 penman issues
Sort by recently updated
recently updated
newest added

This depends on #57, although #57 will be informed by this issue. The AMR concept inventory is, as I understand, a fork of [Propbank frames](https://github.com/propbank/propbank-frames). It is packaged with the...

enhancement
good first issue

This includes: * list/map of available concepts * `Model.has_concept()` (like `Model.has_role()`) * Add checks to `Model.errors()` * (Maybe) consistency checks of roles, reifications, normalizations, and concepts

enhancement

Issue #11 is concerned with finding re-entrancies, but cycles may be harder to detect. If we can efficiently detect cycles, we could (a) flag graphs as being cyclical; (b) identify...

It would be useful to have a simple way to test if a graph has certain elements. This would be done my implementing the [`__contains__()`](https://docs.python.org/3/reference/datamodel.html#object.__contains__) method on the `Graph` class....

A useful feature would be to modify a corpus of graphs according to some patterns. (see also #2) * prune leaf node or edge (e.g., `prune udef_q`, `prune :polarity`) *...

enhancement

Some non-graph lines in a file are metadata, which can be parsed (see #23), but other kinds of comments or text will be lost after reading a file. This content...

Allow for searching the corpus for matching graphs. * by node type `search "book"` * by relation `search ":polarity"` * with wildcards `search "have-*"`, `search "ARG*"` * by subgraph `search...

enhancement

Hello there Not so much an issue as a question: I was wondering how the `triples` are ordered. I assume they follow insertion order (not necessarily linguistic order) and are...

question

This PR removes the `Any` from the `Branch` type, so trees are fully recursively typed. This is a first step towards #129, but figured this would be a small enough...

`layout.py` has at least three problems with the way its functions are typed. First, some non-public functions don't use type annotations on the signatures, so they are not checked. Fixing...

maintenance