问题 1:是的,你需要一条规则将 3p.POSS3 转换为 3p.POSS2。类似于以下内容:
其中 c_n_poss 定义为类似:n.3p_POSS, n.3p_POSS2, n.3p_POSS3, …,而 a_poss_slot 包含所有所有格后缀。如果其他所有格后缀有类似的行为,你可以添加额外的 when 语句。
问题 2:
对于这种情况,如果只是几个词的词尾发生了变化,我建议为每个这样的词创建两个词条。然后在“名词 – 形容词”规则中,检查形容词以什么开头,再检查你拥有的是哪个词,并根据形容词输出其中一个或另一个。
如果涉及大量单词,多到无法在 choose 语句中列出,那么你需要采用不同的方法,例如人为地将该词视为带有后缀,并根据形容词为其添加正确的后缀。
Question 1: yes, you want a rule to turn 3p.POSS3 into 3p.POSS2. Something like the following:
Where c_n_poss is defined as something like: n.3p_POSS, n.3p_POSS2, n.3p_POSS3, … and a_poss_slot contains all the possessive suffixes. If other possessive suffixes do something similar you could have additional when statements.
Question 2:
For this one, if it is just several words that have the ending changed, I would recommend you have two entries for each of these. Then in a noun – adjective rule, check what the adjective begins with then check what word you have and depending on the adjective output one or the other.
If it’s a lot of words that would be too many to list in a choose statement, then you would need a different approach such as artificially treating the word as if it has a suffix and putting the right suffix on it depending on the adjective.
机器翻译自 English 显示原文