[Corpora-List] Does anyone still use tgrep?

Kevin B. Cohen kevin.cohen at gmail.com
Sun Aug 17 19:18:58 UTC 2014


A correction: it turns out that Stanford CoreNLP uses tregex in dcoref, not
tgrep.  Quoting from the javadoc:

"A TregexPattern is a tgrep-type pattern for matching tree node
configurations. Unlike tgrep or tgrep2but like Unix grep, 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."

http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/trees/tregex/TregexPattern.html

Kev



On Sun, Aug 17, 2014 at 12:33 PM, Kevin B. Cohen <kevin.cohen at gmail.com>
wrote:

> Hi, folks,
>
> 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?
>
> Thanks,
>
> Kev
>
> --
> Kevin Bretonnel Cohen, PhD
> Biomedical Text Mining Group Lead, Computational Bioscience Program,
> U. Colorado School of Medicine
> 303-916-2417
> http://compbio.ucdenver.edu/Hunter_lab/Cohen
>
>
>
>


-- 
Kevin Bretonnel Cohen, PhD
Biomedical Text Mining Group Lead, Computational Bioscience Program,
U. Colorado School of Medicine
303-916-2417
http://compbio.ucdenver.edu/Hunter_lab/Cohen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/corpora/attachments/20140817/e8430006/attachment.htm>
-------------- next part --------------
_______________________________________________
UNSUBSCRIBE from this page: http://mailman.uib.no/options/corpora
Corpora mailing list
Corpora at uib.no
http://mailman.uib.no/listinfo/corpora


More information about the Corpora mailing list