3 ms·
I find the intro paragraph kind of funny that "Lisp sure beats the hell out of Java for text processing". The reason that I find it funny is that The Stanford P
by blueblob 13y ago
I find the intro paragraph kind of funny that "Lisp sure beats the hell out of Java for text processing". The reason that I find it funny is that The Stanford Parser/Stanford CoreNLP library is one of the more popular toolkits. Perhaps the status of Lisp text processing is such that it is not needed but Wikipedia has only one Lisp toolkit and quite a few Java ones[1] (Ruby also has 1).
The other thing that I found interesting in this article was the reference to regular expressions as being really useful for text processing but not good for handling tree-based data and I very recently found that the Stanford Parser has tree regular expressions/tregex[2].
[1] http://en.wikipedia.org/wiki/Outline_of_natural_language_processing#Natural_language_processing_toolkits http://en.wikipedia.org/wiki/Outline_of_natural_language_pro...
[2] http://nlp.stanford.edu/software/tregex.shtml http://nlp.stanford.edu/software/tregex.shtml
- webkike 13y agoSimply by having a parser library - and I should mention one meant primarily for natural language parsing - is not indicative of Java being "better" for text processing than lisp. Indeed, one could argue that the mere fact that Java has a library for text processing at all is indicative of lisp being better; after all, the reason lisp does not have an external package could be because it simply does not need one to be just as powerful.