stanfordmlgroup / chexpert-labeler

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

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

Closed EricFu1120 closed 3 years ago

EricFu1120 commented 3 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 3 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 3 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!