Good point, thanks. I’d just noticed that my IsA/Example patterns didn’t include “is a” so threw it in.
<string=“is> <pos=“DT”> is probably the general case.

From: Jesse Kinkead <notifications@github.com<mailto:notifications@github.com>>
Reply-To: allenai/taggers <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Friday, February 7, 2014 at 11:38 AM
To: allenai/taggers <taggers@noreply.github.com<mailto:taggers@noreply.github.com>>
Cc: Kevin Humphreys <KevinH@allenai.org<mailto:KevinH@allenai.org>>
Subject: Re: [taggers] Grammar (#36)


In examples/chunks/rel.taggers:

> @@ -57,13 +59,24 @@ ExampleRel := TypePatternTagger {
>  | (?:<string="such"> <string="as"> )
>  // is an example of
>  | (?:@And? <pos="MD">? <string=/be|is|are/> <pos="DT"> <string=/example(s)?/> <string="of"> )
> +// is a
> +| (?:@And? <string="is"> <string="a"> )


I had good results with <string="is"> <string=/an?|the|one/>, which matches a number of Barrons sentences.

You probably want <string=/an?/> at the least.

—
Reply to this email directly or view it on GitHub<https://github.com/allenai/taggers/pull/36/files#r9551887>.