stanfordmlgroup / chexpert-labeler

CheXpert NLP tool to extract observations from radiology reports.
MIT License
351 stars 79 forks source link

What is the programming language used in negation.txt of patterns? #23

Closed EricFu1120 closed 4 years ago

EricFu1120 commented 4 years ago

Hi Jeremy, I need to make some changes in the negation.txt and uncertainty.txt of patterns. So I want to figure out the programming language used in them. Thanks!

eg. # No definite XXX ({} > {} {lemma:/definite/}) > {dependency:/neg/} {}

jirvin16 commented 4 years ago

This should be a good resources to learn about these patterns: https://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/semgraph/semgrex/SemgrexPattern.html

EricFu1120 commented 4 years ago

This should be a good resources to learn about these patterns: https://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/semgraph/semgrex/SemgrexPattern.html

Thank you very much!