I have downloaded stanford parser package from web because I want to use it in my java program. I don't know that in which subfolder of jdk 1.5.0_22 should I extract the .rar files of stanford parser. Can any one tell me. I'll be thankful.
How can I use stanford parser package?
Collapse
X
-
Tags: None
-
Hi!
If you want to use external libraries or sources, you don't have to have them in your jdk directory. If you're using a development environment (e.g. Eclipse, JBuilder, ...) you can include them there, otherwise you have to add them to the java classpath when using javac.
The easiest way to do that would be if there's a .jar file in that archive you downloaded. In that case, just add the optionto the arguments. (Assuming, you're in the directory of your program - otherwise replace the "." with the path to that.)Code:-cp C:\path\to\jar\file.jar;.
Greetings,
Nepomuk
Comment