public static ModType get(String type) {
        switch(type.toUpperCase()) {
            case "PREFIX": return PREFIX;
            case "SUFFIX": return SUFFIX;
            case "INFIX": return INFIX;
            case "CIRCUMFIX": return CIRUMFIX;
            case "NEW TRANSLATION":
            case "NEW_TRANSLATION": return NEW_TRANSLATION;
            case "ADD WORD":
            case "ADD_WORD": return ADD_WORD;
            default: return null;
        }
    }