Pew Research Center illustration
Every year, Pew Research Center releases a report measuring how governments and societies around the world restrict the free exercise of religion.
Our data goes back to 2007 and covers 198 countries and territories. The study involves a demanding process of manually coding data from a set of publicly available sources, including national constitutions and publications from the U.S. government, the United Nations and nongovernmental organizations like Human Rights Watch.
We ran two experiments to see whether artificial intelligence could make this process easier for human coders to complete.
The problem
Typically, a team of five trained coders spends about four months combing through the source documents used for the study.…