diff options
author | Michael Denkowski <mdenkows@cs.cmu.edu> | 2013-09-04 12:27:22 -0700 |
---|---|---|
committer | Michael Denkowski <mdenkows@cs.cmu.edu> | 2013-09-04 12:27:22 -0700 |
commit | 40eac315f63b018eec10da4124b801869cd788f5 (patch) | |
tree | 54ba29aa4b5ed47ee305d8238f8a52a91ecdc521 /realtime/rt/aligner.py | |
parent | 7c583986ab4774480d45ada79a812c9c8853296b (diff) |
Infrastructure for HPYPLM, config file management.
Diffstat (limited to 'realtime/rt/aligner.py')
-rw-r--r-- | realtime/rt/aligner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/realtime/rt/aligner.py b/realtime/rt/aligner.py index 4a0ace48..3c6ea144 100644 --- a/realtime/rt/aligner.py +++ b/realtime/rt/aligner.py @@ -1,3 +1,4 @@ +import logging import os import sys import subprocess @@ -19,8 +20,13 @@ class ForceAligner: rev_cmd = [fast_align, '-i', '-', '-d', '-T', rev_T, '-m', rev_m, '-f', rev_params, '-r'] tools_cmd = [atools, '-i', '-', '-j', '-', '-c', 'grow-diag-final-and'] + logging.info('Executing: {}'.format(' '.join(fwd_cmd))) self.fwd_align = util.popen_io(fwd_cmd) + + logging.info('Executing: {}'.format(' '.join(rev_cmd))) self.rev_align = util.popen_io(rev_cmd) + + logging.info('Executing: {}'.format(' '.join(tools_cmd))) self.tools = util.popen_io(tools_cmd) def align(self, source, target): |