A utility class for "parsing" the output of the OpenNLP command line chunker. The command line chunker returns strings in this form:
{@code [NP JFK/NNP] [VP was/VBD elected/VBN] [NP president/NN] [PP in/IN] [NP 1960/CD] ./.}
This class converts that String representation into a {@link ChunkedSentence}object.
@author afader
|
|