0

运行此代码时出现错误

from arabert.preprocess import ArabertPreprocessor, never_split_tokens
from farasa.stemmer import FarasaStemmer

stemmer = FarasaStemmer(interactive=True)
train_df['tweet'] = train_df['tweet'].apply(lambda x: ArabertPreprocessor(x, do_farasa_tokenization=True , farasa=stemmer, use_farasapy = True))

TypeError: init () got an unexpected keyword argument 'do_farasa_tokenization'

4

0 回答 0