There is a problem with the toString method. Tried to fix it but no luck
so far. The Stanford tokenizer method PTBTokenizer.PTBT2Text seems to
omit a question mark in the pattern. Gotta find a solution or use
another tokenizer for this task maybe
Made the method isMatchingPatterns work properly
Almost fully implemented the pattern evaluation methods. There is a
problem with the toString method of a pattern which makes some patterns
fail when they shouldn't. Should not be too difficult to solve.
Noticed several bugs when running tests that now has been ironed out.
Should now work like a charm.
The tests showed that there was something funky with some of the
patterns when running the matches method. Made some fixes, but what
remains are the toString method which makes some patterns mismatch when
they shouldn't
Added changes to the constructor so it creates its own tokens and
toString
Test cases for PatternEvaluation
Changes to the test methods as they covered poorly the tested methods.
Should now work a bit better. Some are still not implemented.