Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Lingua::TokenParse 0.1601

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Gene Boggs | More programs
    Perl Artistic License / FREE
    June 9th, 2008, 03:21 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Lingua::TokenParse description

    Lingua::TokenParse is a Perl module to parse a word into scored, fragment combinations.

    Lingua::TokenParse is a Perl module to parse a word into scored, fragment combinations.

    SYNOPSIS

    use Lingua::TokenParse;
    my $p = Lingua::TokenParse->new(
    word => 'antidisthoughtlessfulneodeoxyribonucleicfoo',
    lexicon => {
    a => 'not',
    anti => 'opposite',
    di => 'two',
    dis => 'separation',
    eo => 'hmmmmm', # etc.
    },
    constraints => [ qr/eo(?:.|$)/ ], # no parts ending in eo allowed
    );
    print Data::Dumper($p->knowns);


    This class represents a Lingua::TokenParse object and contains methods to parse a given word into familiar combinations based on a lexicon of known word parts. This lexicon is a simple fragment => definition list.

    Words like "automobile" and "deoyribonucleic" are composed of different roots, prefixes, suffixes, etc. With a lexicon of known fragments, a word can be partitioned into a list of its (possibly overlapping) known and unknown fragment combinations.

    These combinations can be given a score, which represents a measure of word familiarity. This measure is a set of ratios of known to unknown fragments and letters.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    word parser | fragment combinations | Perl module | word | parser | fragment

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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