Language Detection API Java Client