make method non-public; tiny code cleanup
simplify database connection code
fix sentence acceptance for languages that don't use whitespace between words
improve variable names and usage information