建议将一些enum改为struct,例如Conj和NounType。另外,在Transitivity中使用元组不如使用struct更具可读性,例如Monotransitive应该是struct Monotransitive { noun: R }。最后,建议在所有的结构体和枚举中添加注释,以增加代码的可读性和可维护性。

enum SentenceType Declarative Interrogative Exclamatory Imperativestruct RT range Rangeusize value Tenum Tense Present Past Future PastFutureenum Aspect Perfect

原文地址: https://www.cveoy.top/t/topic/bfkw 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录