Embed presentation
Download to read offline

![Semgrex Examples
{} >nsubj {} >dobj {}
{tag:NOUN} [ <nsubj {} | <csubj {} ]
{}=a >> {word:foo} : {}=a >> {word:/bar.*/}
{}=rc <rcmod {} : {tag:PRON}=pron <<nsubj {}=rc](https://image.slidesharecdn.com/datascience-170516145123/85/How-to-extract-information-from-text-with-Semgrex-2-320.jpg)




Semgrex allows users to extract information from text using patterns that match syntactic dependencies in sentences. It provides examples of patterns that match noun subjects, direct objects, pronouns, and regular expressions. The document also includes links to the Semgrex npm package, a demo application on GitHub, and resources for natural language processing and syntactic dependencies.

![Semgrex Examples
{} >nsubj {} >dobj {}
{tag:NOUN} [ <nsubj {} | <csubj {} ]
{}=a >> {word:foo} : {}=a >> {word:/bar.*/}
{}=rc <rcmod {} : {tag:PRON}=pron <<nsubj {}=rc](https://image.slidesharecdn.com/datascience-170516145123/85/How-to-extract-information-from-text-with-Semgrex-2-320.jpg)


