機械壓縮去詞--代碼實現(python數據分析與挖掘實戰第15章)

filelist = ['能夠,能夠能夠能夠能夠能夠','很費電很費電很費電'] filelist2 = [] for a_string in filelist: temp1 = a_string.strip('\n') temp2 = temp1.lstrip('\ufeff') temp3 = temp2.strip('\r') char_list = li
相關文章
相關標籤/搜索