On the study of dialects