Skip to content

Commit

Permalink
Merge pull request #134 from Honghe/master
Browse files Browse the repository at this point in the history
Fix a bug about can not import ChineseAnalyzer
  • Loading branch information
fxsjy committed Feb 16, 2014
2 parents cc708de + 7720fbc commit 6946b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jieba/analyse/__init__.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import jieba
import os
try:
from analyzer import ChineseAnalyzer
from analyzer import ChineseAnalyzer
except ImportError:
pass
pass

_curpath=os.path.normpath( os.path.join( os.getcwd(), os.path.dirname(__file__) ) )
f_name = os.path.join(_curpath,"idf.txt")
Expand Down

0 comments on commit 6946b00

Please sign in to comment.