bagaroz
22-10-2010, 13:30
Buongiorno,
ho scaricato un programma Java, ho decompresso il tutto e all'interno della cartella ho vari file:
- alcuni con estensione.MDF
- montylingua.jar
- RunJavaCommandline.bat
- RunSampleJava.bat
- sample.class
- sample.java
nell'API relativa al software c'è scritto:
From your Java code:
1. make sure "montylingua.jar" is in your class path, in addition to associated subdirectories and data files
2. in your code, you need something like:
import montylingua.JMontyLingua; // loads namespace
public class YourClassHere {
public static JMontyLingua j = new JMontyLingua();
public yourFunction(String raw, String toked) {
jisted = j.jist_predicates(raw); // an example function
3. For a good use case example, see Sample.java.
C. From the command line:
1. if you have java installed and in your path: type "runJavaCommandline.bat"
Credo sia quello in neretto il problema, ma non ho idea di cosa fare
ho scaricato un programma Java, ho decompresso il tutto e all'interno della cartella ho vari file:
- alcuni con estensione.MDF
- montylingua.jar
- RunJavaCommandline.bat
- RunSampleJava.bat
- sample.class
- sample.java
nell'API relativa al software c'è scritto:
From your Java code:
1. make sure "montylingua.jar" is in your class path, in addition to associated subdirectories and data files
2. in your code, you need something like:
import montylingua.JMontyLingua; // loads namespace
public class YourClassHere {
public static JMontyLingua j = new JMontyLingua();
public yourFunction(String raw, String toked) {
jisted = j.jist_predicates(raw); // an example function
3. For a good use case example, see Sample.java.
C. From the command line:
1. if you have java installed and in your path: type "runJavaCommandline.bat"
Credo sia quello in neretto il problema, ma non ho idea di cosa fare