(Not really a Perl solution!) There was a publication somewhere recently which showed that by using Winzip or some similar compression package one could deduce which language a document was written in. In short, you compress a set of "reference" documents into an archive, and you repeat this for a number of different languages. You then add the unknown document to each language archive in turn and the one which increased in size the least should be the language of the unknown document (because most/all of the words in it will already be in the archive's dictionary table). It was suggested that this method could also be used to identify authorship -- I haven't used the method so don't know how well it works in practice. (Sorry, don't have a link for the original article). B

In reply to Re: Text Analysis Tools to compare Slinker and Stinker? by Anonymous Monk
in thread Text Analysis Tools to compare Slinker and Stinker? by Cody Pendant

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.