Speech Recognition Engines

Flat
HTK commands cant execute from shellScript when called through java
User: naoba
Date: 12/27/2012 2:27 am
Views: 4495
Rating: 10

Hi everyone :-)

I can execute the shell commands like 'echo', 'mkdir' written in a shell script like this(as shown below) when called through java, but the htk commands like 'HCopy' which normally executes from a shell script wont execute when called through java

#!/bin/bash

mkdir mkdir /home/dit2/Desktop/xxxx;

number=32;

echo $number;

echo 'hello world';

HCopy -T 1 -A -D -C ./analysis.conf -S ./targetlist;

 

pliz help

--- (Edited on 12/27/2012 2:28 am [GMT-0600] by ) ---

Re: HTK commands cant execute from shellScript when called through java
User: kmaclean
Date: 1/2/2013 12:52 pm
Views: 2034
Rating: 10

>htk commands like 'HCopy' which normally executes from a shell script

>wont execute when called through java

Execute system commands in a Java Program

--- (Edited on 1/2/2013 1:52 pm [GMT-0500] by kmaclean) ---

PreviousNext