diff --git a/jieba/analyse/textrank.py b/jieba/analyse/textrank.py index 230e2a94..e061b74b 100644 --- a/jieba/analyse/textrank.py +++ b/jieba/analyse/textrank.py @@ -7,7 +7,7 @@ from collections import defaultdict import jieba.posseg from .tfidf import KeywordExtractor -from .._compat import * +from jieba._compat import * class UndirectWeightedGraph: