1. Lars Yencken
  2. pinyomi

Commits

Lars Yencken  committed 0e7309a

Updated the dictionary path for kdic.

  • Participants
  • Parent commits ad95967
  • Branches trunk

Comments (0)

Files changed (2)

File dict/testAutoFormat.py

View file
  • Ignore whitespace
         dictDir = path.join(DATA_DIR, 'dict')
         self.je_edict = path.join(dictDir, 'je_edict.gz')
         self.je_jplaces = path.join(dictDir, 'je_jplaces.gz')
-        self.jc_kdic = path.join(dictDir, 'jc_kdic.dict')
-        self.cj_kdic = path.join(dictDir, 'cj_kdic.dict')
-        self.cj_dreye = path.join(dictDir, 'cj_DrEye.dict')
+        self.jc_kdic = path.join(dictDir, 'jc_kdic.gz')
+        self.cj_kdic = path.join(dictDir, 'cj_kdic.gz')
+        self.cj_dreye = path.join(dictDir, 'cj_DrEye.gz')
         pass
 
     #------------------------------------------------------------------------#

File pinyin/hanziReadingModel.py

View file
  • Ignore whitespace
 #----------------------------------------------------------------------------#
 
 _defaultDictionaryFiles = [
-        os.path.join(settings.DATA_DIR, 'dict', 'cj_kdic.dict'),
+        os.path.join(settings.DATA_DIR, 'dict', 'cj_kdic.gz'),
     ]
 
 _cachedReadingModel = None