Goto

Collaborating Authors

 semgrex


Semgrex and Ssurgeon, Searching and Manipulating Dependency Graphs

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

arXiv.org Artificial Intelligence

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.


semgrex

@machinelearnbot

Semgrex is a utility for matching patterns in dependency trees, based on tree relationships and regular expression matches on nodes. Semgrex is part of StafordNLP which is written in Java. So, this module uses Java Native Interface(JNI). You will need JRE to run this module. You should use syntax parser for your language.