A sociolinguistic study of language contact, shift, and change