lingpy / morphopy

Python library for handling morphological relations in historical linguistics
GNU General Public License v3.0
0 stars 0 forks source link

Added consistency checkers #6

Closed Schweikhard closed 5 years ago

Schweikhard commented 5 years ago

Included are now tests between morphemes and tokens, cogIDs and crossIDs, crossIDs and rootIDs, and morphemes and crossIDs. The final one is named "check_morphemes" even though it actually checks the crossIDs, but we already have "check_crossids" for the one which checks the crossIDs via the cogIDs.

What could still be added is a test between cogIDs and concepts (i.e. whether the same cogID is only used for forms of the same concept), but I'm not sure how to code that.