From eaf1746a982bc5052c26376dde917b34b40b0870 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Sat, 6 Aug 2011 15:13:18 +0800 Subject: update with new libpinyin path --- estimate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'estimate.py') diff --git a/estimate.py b/estimate.py index 7b07089..6f35d70 100755 --- a/estimate.py +++ b/estimate.py @@ -13,7 +13,7 @@ config = MyConfig() #change cwd to the libpinyin utils/training directory libpinyin_dir = config.getToolsDir() -libpinyin_sub_dir = os.path.join(libpinyin_dir, 'utils', 'training') +libpinyin_sub_dir = os.path.join(libpinyin_dir, 'data') os.chdir(libpinyin_sub_dir) #chdir done @@ -36,7 +36,7 @@ def handleOneModel(modelfile, reportfile): avg_lambda = 0. #begin processing - cmdline = ['./estimate_k_mixture_model', \ + cmdline = ['../utils/training/estimate_k_mixture_model', \ '--deleted-bigram-file', \ config.getEstimatesModel(), \ '--bigram-file', \ -- cgit