-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Welcome to the am-parser wiki!
This documentation is a work in progress. If anything is unclear, please open an issue and we will get back to you as quickly as possible.
A characteristic feature of the AM parser is that it learns to parse sentences into AM dependency trees, which then evaluate to graphs in the AM algebra. We have defined our own file format, AM-CoNLL, to store AM dependency trees; it is a mild extension of the well-known CoNLL format for storing dependency trees.
Internal note: There is an UdS specific documentation on how to set up the environment and where to find the files.
The AM parser consists of four steps:
- Preprocessing and decomposition: convert the graphbank to AM dependency trees
- Training the neural network to predict AM dependency trees
- Use the model to parse the test data.
- Evaluation on graphs or AM dependency trees is described here.
You can use our pretrained models to directly parse sentences into graphs (this is also explained in the main README).
Alternatively, you can just let the am-parser compute the scores, and use some other parser to produce trees in the AM-CoNLL format, e.g. the A* parser. In this case, you will need to evaluate the AM-CoNLL files yourself.
- There are multiple options to visualize AM dependency trees (by sentence or for the whole corpus) for further error analysis.
- You can visualize graphbanks, creating a pdf file for every graph in the graph bank.
- UCCA preprocessing