As part of a settlement in a federal free-speech lawsuit, state police in Pennsylvania have agreed to stop citing citizens for using bad language.