Text::Statistics::Latin - Performs statistical analysis of corpora


Version 0.06

SYNOPSIS use CText::CStatiBR; &Text::CStatiBR::CSTATIBR();


Given a copus as input, Text::Statistics::Latin creates a seven column CSV file as output, with one line for each token per text. Names of input files need match the following pattern:

    1 (1). txt', '1 (2). txt', ..., '1 (n).txt'


    1 \(([1-9]|[1-9][0-9]+)\)\.txt

Columns store statistical information:

    (1) number of word forms in document d;  
    (2) number of tokens in d;  
    (3) Id number of d, ie., n;  
    (4) frequency of term t in d;  
    (5) corpus frequency of t ;  
    (6) document frequency of t (number of documents where t occurs at
+ least once);  
    (7) t, UTF8 latin coded token-string delimited by C<< /[ -@]|[\[-`
+]|[{-¿]|[&#592;-&#745;]|[&#884;-&#65533;]/ >>
    Main output file name is '1 (n + 5).txt' and it is stored in the s
+ame directory as
    the corpus, together with residual files on each input file with .
+txu and .txv ad hoc extensions.  
    This code was written under CAPES BEX-09323-5


    use strict;  
    use Text::CStatiBR;  

    &Text::CStatiBR::CSTATIBR("5");     #5 files are analised.  
                                        #Main output
                                        #file created is  
                                        #1 (10).txt




Rodrigo Panchiniak Fernandes, <fernandes at>


Please report any bugs or feature requests to bug-text-statistics-latin at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Text::Statistics::Latin

You can also look for information at:


Copyright 2007 Rodrigo Panchiniak Fernandes, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Written under CAPES BEX-09323-5

1 POD Error

The following errors were encountered while parsing the POD:

Around line 60:

Non-ASCII character seen before =encoding in '+]|[{-¿]|[&#592;-&#745;]|[&#884;-&#65533;]/'. Assuming UTF-8