interactive-cookbook / recipe-generation

Apache License 2.0
0 stars 0 forks source link

Non-split amrs alignments are not updated #22

Closed kastein closed 1 year ago

kastein commented 1 year ago

AMRs that were not split by the splitting algorithm have all nodes aligned to an action token as ::alignments values, including e.g. 'y / you' for the implicit subject of the imperative predicates. During postprocessing, all nodes that are not included in the main amr node list for the amr graph get removed from 'alignments' attribute. But postprocessing function is not called for non-split AMRs -> no changes to 'alignments'