📅  最后修改于: 2022-03-11 15:04:26.245000             🧑  作者: Mango
def compound_words_pluralization(doc):
objs = []
for idx,word in text:
if(word) = 'is':
replace_word == are
objs.append({"token":"{}".format(replace_word, 'start':idx)})
else:
print(idx)
return objs