Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Email::Store::Language 0.03

    Download button

    No screenshots available
    Downloads: 328  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Brian Cassidy | More programs
    Perl Artistic License / FREE
    October 11th, 2007, 11:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Email::Store::Language description

    A module which can add language identification to emails and lists

    Email::Store::Language module can add language identification to emails and lists.

    SYNOPSIS

    Remember to create the database table:

    % make install
    % perl -MEmail::Store="..." -e 'Email::Store->setup'


    And now:

    for( $mail->languages ) {
    print $_->language . "n";
    }
    or
    for( $list->languages ) {
    print $_->language . "n";
    }


    This module will help you auto-identify the language of your messages and lists. There are some options you can use to help refine the process.

    set_active_languages

    This is a method from Lingua::Identify that will let you limit what languages your messages should be checked against.

    # limit to english and french
    use Lingua::Identify qw( set_active_languages );
    set_active_languages( qw( en fr ) );


    $EMAIL::Store::Language::OPTIONS

    This is a hashref of options that will be passed as the first argument to langof(). There is one exception: the threshold option. threshold should be a number (percentage) between 0 and 1. The default is 0.5.

    $Email::Store::Language::OPTIONS = { threshold => 0.35 };

    In the above example, a threshold of 0.35 means that, for mail language identification, if Lingua::Identify claims to be 35% sure that the message is a given language it will store that language. If no languages are above the threshold, then the language of most confidence will be used.

    For list identification, it means that if 35% of the messages are identified as being a given language, then it will store that language. If no languages are above the threshold, then the language of most confidence will be used.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    language identification | email storage | Perl module | language | identification | emails

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM