Natural Language Tool Kit – Tutorial 6


Chinking is the process of excluding/removing things from Chunks. So there might be items in the Chunk that need to be removed.

This is done by expanding the Chunk code to include }{ brackets that contain the items to be excluded.


chunkGram = r"""Chunk: {<.*>+}