Language Detection API Java client