Language Detection Library in Groovy