有没有办法在 enchant 中使用多个字典呢?
这是我所做的,
import enchant
d = enchant.Dict("en_US")
d.check("materialise")
>> False
但如果我使用enchant.Dict("en_UK")
,我会得到True
。最好的方法是如何组合多个词典,使其无论输入参数是materialise
还是materialize
都会返回True
?