regression model for detecting dialects in natural language