Skip to content

Commit

Permalink
rm readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jhauswald committed Feb 26, 2015
1 parent 9f1b96a commit b890fc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
21 changes: 0 additions & 21 deletions sirius-application/image-matching/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from datetime import datetime

dlog = '../input-log/'
argfile = '-argfile ps-args-en.txt'
argfiles = ['-argfile ps-args-en.txt', '-argfile ps-args-vox.txt', '']

def shcmd(cmd):
subprocess.call(cmd, shell=True)
Expand Down Expand Up @@ -58,10 +58,11 @@ def do_POST(self):
shcmd(cmd)

f1 = dlog + "16k_" + filename
cmd = 'pocketsphinx_continuous %s -logfn /dev/null -infile %s ' % (argfile, f1)
res = shcom(cmd).strip()
print 'transcript: %s' % (res)

for f in argfiles:
cmd = 'pocketsphinx_continuous %s -logfn /dev/null -infile %s ' % (f, f1)
res = shcom(cmd).strip()
print 'transcript [%s]: %s' % (f, res)

# Parse the output to get the transcript
# print 'Transcript: %s' % (res)

Expand Down

0 comments on commit b890fc6

Please sign in to comment.