Play Framework Actor Pooling with Guice (Java)

Working with the Play! Framework means working with Akka, intentionally or not. But working with Akka Actors can be tricky, especially when it comes to dependency injection. Play! 2.4 uses Google’s Guice for DI and of course it has the ability to also bind Actors so an ActorRef can be injected anywhere. Single Actor DI Biding and injecting one single Actor is simple and well documented . Just bind it in a Module: [Read More]

Understanding Stemmers (Natural Language Processing)

I am interested in NLP and have already some experience with Apache Solr. It’s time to dig a little in-deep regarding stemmers. First of all, I was looking for a general definition of what a stemmer is, and I found this one, which IMHO is quite good: stemmer — an algorithm for removing inflectional and derivational endings in order to reduce word forms to a common stem So what a stemmer does is nothing more, than converting words to their word stem. [Read More]