hello,
I want to use the linkgrammar in my application.
first of all I downloaded the link41b i have tested the .exe and it work very good so,to test this one from eclipse i have writen this code
public static void main(String[] args) {
// TODO Auto-generated method stub
Process child;
String line;
try {
String command="C:\\Users\\ME\\Desktop\\link41b\\link41b\\link41b.exe";
child = Runtime.getRuntime().exec(command);
child.waitFor();
System.out.println(child.exitValue());
BufferedReader input =new BufferedReader(new InputStreamReader(child.getInputStream()));
while((line = input.readLine()) != null)
{System.out.println(line); }
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
but the result of child.exitvalue() is -1 ,it does mean that
the Process doesn't work .I decided to test this one from the cmd soIhave written cd C:\Users\ME\Desktop\link41b\link41b\link41b.exe

this is the output of the cmd .
I didn't undrestand what does it mean command because I have writte linkparser it didn't work.....
then i have decided to search for an Api to use it directly in my java application : I have downloaded link-grammar-5.0.6
but it does'nt contain the .jar it contain a java buildings(classes) the Readme file are so dfficult to undrestand .
Really I'm so upset , i have searched for 2 weeks and there is nothing to help me .
I just want request for my question from a person who have already work with the linkGrammar in java .
Please i nedd your help.