📌  相关文章
📜  def complex_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 find the error - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:26.245000             🧑  作者: Mango

代码示例1
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