Named Entity Detection in Scala