Stylometry

Stylometry, or applied stylistics, is the statistical analysis of text (textometry) or other forms of data for the purpose of authorship recognition and attribution. This may include comparing anonymous messages to signed messages for the purpose of determining an author's true identity.