added some comments of the newly added methods. Added a new class Configuration to store all configurations of the whole algorithm, including learning mode, the dir of wordnet and opennlp. new configurations can be added in the future if needed.
Part 2: added some comments of the newly added methods. Added a new class Configuration to store all configurations of the whole algorithm, including learning mode, the dir of wordnet and opennlp. new configurations can be added in the future if needed.
added a new class POS, to define all the POS tags.
Replace the tokenizer, sentence detector, and myWN by a Configuration object.
1) Fiexed a bug in methods hide/restoreAbbreviations. Added new test cases. 2) log4j jar has been added. It will be used for logging in the code.
1. Override method equals and hashCode in ModifierTableValue class. 2. Moved method updateUnknownWord into DataHolder class. Added test cases to method addModifier() and method updateUnknownWord()
Create README.md
1) Fixed a bug in method updatePOS(). 2) Override equals() and hashCode() into WordPOSValue class. 3) Added test cases and tested case 0 and case 1 in method updatePOS(). 4) made all data hoders be private, and added public methods to provide access to them.
Merge branch 'master' of https://github.com/dongyemeng/charaparser-unsupervised
1) Created a new class Utility to hold all utility class objects used. 2) Added new content to readme 3) Moved resolveConfilt() to DataHolder class. 4) Fixed a few bugs in resolveConflit(). Added test cases to it. 5) Made all data holders in the DataHolder class be private. Added public methods to access them.
1) Renamed method discount() to discountPOS(). Fixed several bugs in method discountPOS(). 2) Added several utilities methods in DataHolder class to add data into the data holders. 3) Added test cases to method discountPOS() and tested it.
updated readme.
Moved method getParentSentenceTag() to DataHolder class. Added test cases to test it.
1) Added a new method removeAllRecusive() in StringUtility class. Added test cases. 2) Added severl helper methods to method tagSentWithMT(). Added test cases of them.
Moved configuration variable tagLength to Configuration class
Added some missing parts to method tagSentWithMT(). Moved method tagSentWithMT() to DataHolder class.
Renamed method tagSentWithMT() to tagSentenceWithMT().
Fixed a bug in method changePOS(). Created a new method getSumCertaintyU() in Datahoder class. Added test cases.
Moved method singularPluralVariations() to DataHolder class.
Moved methods changePOS(), updatePOS(), processNewWord(), markKnown(), updateTable() to DataHolder class.