Stylometry is the application of the study of linguistic style, usually to written language, but it can also be applied to music and to fine-art paintings.

This use of statistical AI techniques in authorship recognition can be used in criminal investigations and prosecutions. You can try for yourself with the signature stylometry tool.

Obfuscation can reduce the effectiveness of the techniques to the level of random guessing.