目前我正在使用fastText开发Stack overflow tag predictor。(',' , '__label__') for s in tags] 我得到一个错误: AttributeError Traceback (most recent call last)----> 1 tags=[s.replace(' ','__label__
我正在尝试替换txt文件中某行的特定部分,但它显示"AttributeError:'list‘object has no attribute ' replace '“。reassign the array[x] to having new_score at the end instead of stored_score
credentials_array.replace(credentials_array[x],credentials_array_updated)
我正在使用fastText获取相似的单词。我已经训练了我的模型,但当我使用model.most_simlar时出现错误。下面是我的代码:import gensimpprint(test_model.most_similarAttributeError: '_FastText' object has no attribute 'most_similar'
---