Java library implementing statistical natural language processing