summaryrefslogtreecommitdiff
path: root/python/pkg/cdec/sa/compile.py
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-08-07 15:34:48 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-08-07 15:34:48 +0200
commitb510da2e562c695c90d565eb295c749569c59be8 (patch)
treee5405d03df995831870414227c04f2553c621c92 /python/pkg/cdec/sa/compile.py
parentbb9309432fd35e95cf88b630853a928a3e3228c3 (diff)
parent9b96ffa040f6c05c4e597a34c316743425839fe0 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'python/pkg/cdec/sa/compile.py')
-rw-r--r--python/pkg/cdec/sa/compile.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/pkg/cdec/sa/compile.py b/python/pkg/cdec/sa/compile.py
index 2a89243b..393c72a4 100644
--- a/python/pkg/cdec/sa/compile.py
+++ b/python/pkg/cdec/sa/compile.py
@@ -93,11 +93,11 @@ def main():
# Write configuration
config = cdec.configobj.ConfigObj(args.config, unrepr=True)
- config['f_sa_file'] = f_sa_bin
- config['e_file'] = e_bin
- config['a_file'] = a_bin
- config['lex_file'] = lex_bin
- config['precompute_file'] = precomp_bin
+ config['f_sa_file'] = os.path.abspath(f_sa_bin)
+ config['e_file'] = os.path.abspath(e_bin)
+ config['a_file'] = os.path.abspath(a_bin)
+ config['lex_file'] = os.path.abspath(lex_bin)
+ config['precompute_file'] = os.path.abspath(precomp_bin)
for name, value in zip(param_names, params):
config[name] = value
config.write()