Description
OpenNlp supports Right / Left Round Bracket and Right / Left Curly Bracket, but not Right / Left Square Bracket.
Fix is simple, by adding the corresponding "if()"s in 3 files:
tools/parser/chunking/BuildContextGenerator
tools/parser/Parse
tools/tokenize/lang/en/TokenSampleStream
Important NOTE:
I attach the patch for this fix, made by svn diff in trunk/.
However, please note that this patch includes also the changes for the fix of OPENNLP-597.
Unfortunately, I cannot really go around this, as the changes for OPENNLP-597 were not yet merged, at the moment when I opened OPENNLP-598.
If this is a problem, I will re-create this patch, after OPENNLP-597 is closed & its changes merged.
Thank you.