我试图导入daptaprep.eda,但得到一个“regex”模块错误。我寻找了类似的问题,答案经常是关于一个名为“re”ou“regex”的文件,但在colab(Python 3.7.12)上找不到任何问题
356 @property
--> 357 def WORD_RE(self) -> regex.Pattern:
358 """Core TweetTokenizer regex"""
359 # Compiles the regex for this and all future instantiations of TweetTokenizer.
AttributeError: module 'regex' has no attribute 'Pattern'
目前没有回答
相关问题 更多 >
编程相关推荐