Semgrex and Ssurgeon, Searching and Manipulating Dependency Graphs

John Bauer, Chloé Kiddon, Eric Yeh, Alex Shan, Christopher D. Manning


Abstract
Searching dependency graphs and manipulating them can be a time consuming and challenging task to get right. We document Semgrex, a system for searching dependency graphs, and introduce Ssurgeon, a system for manipulating the output of Semgrex. The compact language used by these systems allows for easy command line or API processing of dependencies. Additionally, integration with publicly released toolkits in Java and Python allows for searching text relations and attributes over natural text.
Anthology ID:
2023.tlt-1.7
Volume:
Proceedings of the 21st International Workshop on Treebanks and Linguistic Theories (TLT, GURT/SyntaxFest 2023)
Month:
March
Year:
2023
Address:
Washington, D.C.
Editors:
Daniel Dakota, Kilian Evang, Sandra Kübler, Lori Levin
Venues:
TLT | SyntaxFest
SIG:
SIGPARSE
Publisher:
Association for Computational Linguistics
Note:
Pages:
67–73
Language:
URL:
https://aclanthology.org/2023.tlt-1.7
DOI:
Bibkey:
Cite (ACL):
John Bauer, Chloé Kiddon, Eric Yeh, Alex Shan, and Christopher D. Manning. 2023. Semgrex and Ssurgeon, Searching and Manipulating Dependency Graphs. In Proceedings of the 21st International Workshop on Treebanks and Linguistic Theories (TLT, GURT/SyntaxFest 2023), pages 67–73, Washington, D.C.. Association for Computational Linguistics.
Cite (Informal):
Semgrex and Ssurgeon, Searching and Manipulating Dependency Graphs (Bauer et al., TLT-SyntaxFest 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.tlt-1.7.pdf