|
RiTa index |
||||||||||||||||||||||
| Name | RiChunker | |||||||||||||||||||||
| Description | A simple and lightweight implementation of a phrase chunker for non-recursive syntactic
elements (e.g., noun-phrases, verb-phrases, etc.) using the Penn conventions (shown below).
String sent = "The boy ran over dog";
RiChunker chunker = new RiChunker(this);
String chunks = chunker.chunk(sent);
The full tag set follows:
Note: to use this object, you must first download the rita statistical models (rita.me.models.zip) and unpack them into the 'rita' directory in your processing sketchbook, or into the data directory for you sketch. You can also specify an alternative directory (an absolute path) for the models via RiTa.setModelDir(); Based closely on the OpenNLP maximum entropy chunker.
For more info see: Berger & Della Pietra's paper
'A Maximum |
|||||||||||||||||||||
| Constructors | RiChunker(pApplet); |
|||||||||||||||||||||
| Methods |
|
|||||||||||||||||||||
| Usage | Web & Application |