Velvet Ghost
Velvet Ghost

Reputation: 428

Does any functional programming language have significant libraries for natural language processing?

I am doing natural language processing using NLTK for Python.

I find myself doing my programming more in the functional style, and am thinking about switching to a functional language. However, I need a good NLP library, at least comparable to NLTK.

Do you know a functional programming language which has good NLP libraries? I discovered that there is some NLP activity in the Haskell community, but it seems still in it's infancy compared to NLTK.

Upvotes: 0

Views: 1245

Answers (2)

nflacco
nflacco

Reputation: 5082

Scala and Clojure

Both run on the JVM, so you can take advantage of all the java nlp and machine learning libraries (Stanford Parser, Lingpipe, Mallet, etc). Java blows everything except Python away in terms of NLP libraries except python, but is a bit less user friendly. To use the Stanford Parser programmatically can be a bit of the pain in the ass; I had to write my own wrapper for it.

Upvotes: 4

Related Questions