Hacker News new | ask | show | jobs
by aantix 3551 days ago
I love Ruby too. Sadly, Treat and stanford-core-nlp all appear to have be broken given the latest 3.6.0 update to the Stanford NLP lib.

My approach thus far has been to write a simple wrapper script around the library (in it's native language) and then do a standard output of the result set in JSON.

Then within Ruby, I just do a `shell`, capture the result and do a JSON parse on the response. It's crude, but works reliably well, I don't have to worry about any bridge libraries supporting the latest language version.