Location-tagged tweets enabled researchers to calculate the dominant language of any given region, down to neighborhoods in New York City. Sophie Bushwick reports