<div dir="ltr"><div>A correction: it turns out that Stanford CoreNLP uses tregex in dcoref, not tgrep.  Quoting from the javadoc:<br><br>"A TregexPattern is a <code>tgrep</code>-type pattern for matching tree
 node configurations.  Unlike <code>tgrep</code> or <code>tgrep2</code>but like Unix
 <code>grep</code>, there is no pre-indexing of the data to be searched.
 Rather there is a linear scan through the trees where matches are sought.
 As a result, matching is slower, but a TregexPattern can be applied
 to an arbitrary set of trees at runtime in a processing pipeline."<br><br><a href="http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/trees/tregex/TregexPattern.html">http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/trees/tregex/TregexPattern.html</a><br>

<br></div>Kev<br><br>

 </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 17, 2014 at 12:33 PM, Kevin B. Cohen <span dir="ltr"><<a href="mailto:kevin.cohen@gmail.com" target="_blank">kevin.cohen@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, folks,<br><br></div>I'm curious as to whether any of the people on this list doing corpus-based syntax still use tgrep.  I've been teaching it for years in my corpus linguistics course, but was considering replacing it with something else this year.  Then I was digging around in the Stanford CoreNLP dcoref code and found that their filter for pleonastic "it" uses tgrep patterns.  Now I'm rethinking whether or not to drop tgrep from my course.  Is anyone else still using/teaching tgrep?<br>


<br>Thanks,<br><br>Kev<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><br>-- <br><div dir="ltr">Kevin Bretonnel Cohen, PhD<br>Biomedical Text Mining Group Lead, Computational Bioscience Program, <br>

U. Colorado School of Medicine<br><a href="tel:303-916-2417" value="+13039162417" target="_blank">303-916-2417</a><br>
<a href="http://compbio.ucdenver.edu/Hunter_lab/Cohen" target="_blank">http://compbio.ucdenver.edu/Hunter_lab/Cohen</a><br><br><br><br></div>
</div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Kevin Bretonnel Cohen, PhD<br>Biomedical Text Mining Group Lead, Computational Bioscience Program, <br>U. Colorado School of Medicine<br>303-916-2417<br><a href="http://compbio.ucdenver.edu/Hunter_lab/Cohen" target="_blank">http://compbio.ucdenver.edu/Hunter_lab/Cohen</a><br>

<br><br><br></div>
</div>