19 July 2013
19 July 2013

Massive changes to project today. First off, renamed WordMap to ClassMap, as it makes more sense.

-----

Commented all classes so they will be legible by other people, and organized the methods in alphabetical order. put an @Deprecated sign in front of the unused methods that are either deletable or are currently unused but will be used later.

-----

Fixed most of the problems in Compare.java. The emptyList is mutable, so any references to it were actually also changing the list itself. I added local variables to the methods that are also called emptyList, but do not refer to the static instance on the class.
    Also, pretty much completely finished analyze() method for single strings. The prepareAndAnalyze method is now deprecated, because I now have a new task of working only with identifiers and not working with diff files.
    analyze() now checks all dictionaries, and if a value of < 85 is given it converts the given word to uppercase and compares it again with abbrDict. Plan is now to make a Map so I can change all those acronyms to their proper definitions. However, there are other things that must be checked before that, and they are written down in my book.

-----

Improved the preparation of the dictionaries in Editor. It still takes 40 seconds, but it only needs to be done once. Might remove the prepareAll method() and change all preparation from .data files to the .dict fiiles directly, as there is really no need for that middle step. It's still slow, but it will be improved over time.
    Finally, I finished the compSci dictionary. It needs to be filtered a tiny bit more, but it'll do.