Permalink
Browse files

fixes evaluate.py

  • Loading branch information...
1 parent 062a033 commit 97a030c8af522aac4ab5927d6d81c0b6223198f2 @epico epico committed Aug 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 evaluate.py
View
@@ -14,7 +14,7 @@
config = MyConfig()
#change cwd to the libpinyin data directory
-libpinyin_dir = config.getToolsDir()
+libpinyin_dir = config.getEvalsDir()
libpinyin_sub_dir = os.path.join(libpinyin_dir, 'data')
os.chdir(libpinyin_sub_dir)
#chdir done
@@ -144,7 +144,7 @@ def evaluateModel(reportfile):
checkData()
modelfile = os.path.join(trydir, config.getFinalModelFileName())
- destfile = os.path.join(libpinyindir, 'data', \
+ destfile = os.path.join(libpinyin_dir, 'data', \
config.getFinalModelFileName())
print('copying from ' + modelfile + ' to ' + destfile)

0 comments on commit 97a030c

Please sign in to comment.