summaryrefslogtreecommitdiff
path: root/morphlib/morph3_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename morph3 to morphologyAdam Coldrick2014-08-141-48/+0
| | | | | | Instead of leaving morph3 with a potentially confusing name, rename it to `morphology` since it is now the only implementation of the Morphology class.
* Add new morphology abstraction and morphology loading/savingLars Wirzenius2013-08-141-0/+48
The old code is somewhat weird. The new code is meant to be cleaner and more straightforward to understand and to use. For example, the old code has setting of defaults in both the Morphology and MorphologyFactory classes. The new code has a minimally simple Morphology class, and has all the logic to validate and set defaults in the MorphologyLoader class. Further, the new code makes it possible to load an invalid morphology, which will be useful later.