According to a first-of-its-kind study, cities with a higher incidence of a certain kind of racist tweets reported more actual hate crimes related to race, ethnicity, and national origin. Using machine learning, the researchers analyzed the location and linguistic features of 532 million tweets published between 2011 and 2016. The team found that cities with more targeted racist tweets, espousing discriminatory views, also had more real-life hate crimes.