coprolalia (n.)
"obsessive use of obscene language, either through mental illness or perversion," 1886, from French coprolalie, coined 1885 by de la Tourette, from copro- "dung, filth" + Greek lalia "talk, prattle, a speaking," from lalein "to speak, prattle," of echoic origin.