Utility functions for handling AMR (Abstract Meaning Representation)