IARPA/Pattern
From Knowitall
Revision as of 21:50, 14 March 2011 by Schmmd (talk | contribs) (Created page with "Expressions: * string: takes a case-insensitive regular expression * stringcs: take a '''case-sensitive''' regular expression * lemma: take a case-insensitive regular expression...")
Expressions:
- string: takes a case-insensitive regular expression
- stringcs: take a case-sensitive regular expression
- lemma: take a case-insensitive regular expression for the lemma
- pos: takes a case-insensitive regular expression for the pos tag
- chunk: takes a case-insensitive regular expression for the chunk tag
- type: takes a case-insensitive string for any type that spans the token
Examples:
<string="an?|the">? <pos="JJ">* <pos="NNP">+ <pos="NN">+ <pos="NNP>+ The incredible U.S. president Barack Obama famed UW professor Oren Etzioni
<pos="NNP">+ <stringcs="president">+ <pos="NNP>+ U.S. president Barack Obama not: U.S. President Barack Obama