A natural language processing toolkit based on word grouping and thesaurus database