Sociolinguistic Typology Meets Historical Corpus Linguistics