Try to raise the nlp.max_length parameter (as your error message suggests): nlp = spacy.load('en_core_web_sm') nlp.max_length = 1500000 #or any large value, ...
確定! 回上一頁