I am having a trouble using a program called Stanford Parser 1.6.1 (http://www-nlp.stanford.edu/downloads/lex-parser.shtml#Download).
(To unzip this file, you have to unzip it twice).
I renamed the unzipped folder as "stanford-parser-2008" and put
it in the jython 2.2.1 folder and added the path as follows:
>> import sys
Then I accessed the following packages within javadoc, and this worked:
>> import edu.stanford.nlp.parser.lexparser
But when I try to access a class within it I get an error:
>> import edu.stanford.nlp.parser.lexparser.LexicalizedParser
ImportError: no module named LexicalizedParser
>> from edu.stanford.nlp.parser.lexparser import
ImportError: cannot import name LexicalizedParser
This problem was encountered by someone else two years ago (http://www.nabble.com/Importing-non-builtin-java-modules-to8957425.html#a8999193)
but does not seem to have received a satisfactory answer.
Could someone please help me get out of this puzzle? I don't know why I
can't import this class while I can import the packages.
Thanks a lot.
Could you please delete the message below with the same title? I tried
the instruction in help and logged into the nabbles page but could not
find any option for deleting my post. Sorry, but web navigation here is