Paper ID: 2404.16250
Semgrex and Ssurgeon, Searching and Manipulating Dependency Graphs
John Bauer, Chloe Kiddon, Eric Yeh, Alex Shan, Christopher D. Manning
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.
Submitted: Apr 24, 2024