Building a classifier to detect accents in speech