Using modified regular expressions, we can define chunk patterns. These are patterns of part-of-speech tags that define what kinds of words make up a chunk. We can also define patterns for what kinds of words should not be in a chunk. These unchunked words are known as chinks.
ChunkRule specifies what to include in a chunk, while a
ChinkRule specifies what to exclude from a chunk. In other words,
chunking creates chunks, while chinking
breaks up those chunks.
We first need to know how to define chunk patterns. These are modified regular expressions designed to match sequences of part-of-speech tags. An individual tag is specified by surrounding angle brackets, such as
<NN> to match ...