For an enterprising clojure hacker, this is a good opportunity to write 
"Clojure for non-Java Hackers" and put it up on Pragprog.

On Sunday, September 7, 2014 10:50:31 PM UTC-4, Sam Raker wrote:
>
> I'm trying to use the Stanford Parser from Clojure, but I don't know 
> hardly any Java, and this is my first time working with the interop stuff. 
> All I want to do is play around with the class in the REPL. I added 
> `[edu.stanford.nlp/stanford-parser "3.4.1"]` to my Lein `project.clj`, and 
> the download seemed to go fine. The documentation is 
> http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/parser/lexparser/LexicalizedParser.html
>  
> for those of you playing at home.
>
> Basically, my efforts have been a total failure. I can `(import 
> edu.stanford.nlp.parser.lexparser.LexicalizedParser)`, but after that, it's 
> just a nightmare of `no matching ctor`, `no matching field`, 
> `NoSuchFieldException` and `expected static field` errors. I can't even 
> initialize anything -- `(def parser (new LexicalizedParser))` gives me the 
> aforementioned `no matching ctor` error.
>
> Like I said before, this is entirely my fault: I don't know Java, I don't 
> know interop, and I Google has failed me. So I turn to you, beloved Clojure 
> community, to correct my ignorance. I'm sure it's not hard, I'm just 
> missing something.
>
>
> Thanks,
> -sam
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to