Moved all code actually do the learning in UnsupervisedClauseMarkup class into Learner class. Moved test cases of some of the methods (not finished yet).
1) Moved IGNOREPTN to Constant class. 2) Moved WORDS from unsupervisedClauseMarkup class to DataHolder class, and renamed it as allWords. 3) Moved methods addSingularPluarlPair, method insertUnknown, and method addModifier to DataHolder class. 4) Moved method escape to StringUtility class.
build.xml has been updated by Jim. The new version is copied to here.
1) Moved all test cases test methods do the learning from UnsupervisedClauseMarkupTest class to LearnerTest class. Passes all test cases! 2) Moved one method isMatchedWords to StringUtility class.
added some code to handle null DataHolder in the interface defined methods.
Added a case to resolveConflicts to handle null.
Renamed inSingularPluralPair method to isInSingularPlural. Moved it to DataHolder class. Moved its test cases as well. Renamed insertUnknown method to addUnknown.
Added a helper method removeFromWordList in StringUtility class. Added test cases to it.
fixed a bug in method getDescriptorsRule1
tested the first case of updateTable method.
Added test cases of method singularPluralVariations
fixed a bug in method getPlural
Fixed a bug in method markKnown.
Tested case 2 of method markKnown. Can not find test cases to test case 3. Fixed a bug in method singularPluralVariations. Fixed a bug in case 3 of method markKnown.
Fixed two bugs in method getParentSentenceTag
Added two methods hideAbbreviations and restoreAbbreviations to class PupulateSentenceUtility class, to handle abbreviations. Test cases were added.
Modified method segmentSentence in class pupulateSentenceUtility to handle abbreviations. Added test cases to the methods.
Merge pull request #30 from dongyemeng/master

Merge lastest