Linux SoftwareProgrammingLibrariesLingua::EN::WordsToNumbers 0.11

Lingua::EN::WordsToNumbers 0.11


Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers. This module is an OO wrapper fo
Developer:   Earle Martin
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   2K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers.

This module is an OO wrapper for Lingua::EN::Words2Nums, which is very nice, but has an unfortunate name (which doesn't help when you're searching CPAN for modules that turn words into numbers).

SYNOPSIS

use Lingua::EN::WordsToNumbers;

my $numberizer = Lingua::EN::WordsToNumbers->new;

print $numberizer->parse("Forty-two"); # "42"

$numberizer->debug(1); # debug on
$numberizer->debug(undef); # debug off

$numberizer->billion(10**12); # use "English billion"

METHODS

new
my $numberizer = Lingua::EN::WordsToNumbers->new;
Gives you a new "object". Doesn't really do much.

parse
print $numberizer->parse("Forty-two"); # "42"
An alias for Lingua::EN::Words2Nums's words2nums method. Read that module's documentation to see how it works. You can also call this method as words2nums if you really want to.

debug
$numberizer->debug(1);
Set Lingua::EN::Words2Nums debug mode. True values are on, anything else is off.

billion
$numberizer->billion(10**12);
Define the value of a billion ($Lingua::EN::Words2Nums::billion).

Requirements:
  • Perl
    tags numberizer debug  forty two  numberizer billion  billion 10**12  parse forty  numberizer parse  numberizer lingua  wordstonumbers new  print numberizer  for lingua  

    Download Lingua::EN::WordsToNumbers 0.11


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/E/EM/EMARTIN/Lingua-EN-WordsToNumbers-0.11.tar.gz


    Authors software

    Time::Beat 1.21 (by Earle Martin)
    Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time.

    Time::Beat is a module to convert normal tim

    Lingua::EN::WordsToNumbers 0.11 (by Earle Martin)
    Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers.

    This module is an OO wrapper fo

    CGI::Wiki::Plugin::RSS::Reader 1.4 (by Earle Martin)

    Wiki::Toolkit::Plugin::RSS::Reader 1.5 (by Earle Martin)
    Wiki::Toolkit::Plugin::RSS::Reader is a Perl module to retrieve RSS feeds for inclusion in Wiki::Toolkit nodes.

    Use this Wiki::Too


    Similar software

    Lingua::EN::WordsToNumbers 0.11 (by Earle Martin)
    Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers.

    This module is an OO wrapper fo

    Lingua::ID::Nums2Words 0.01 (by Steven Haryanto)
    Lingua::ID::Nums2Words is a Perl module to convert number to Indonesian verbage.

    SYNOPSIS

    use Lingua::ID::Nums2Words ;

    Lingua::EO::Supersignoj 0.02 (by Juerd)
    Lingua::EO::Supersignoj is a Perl module that can convert Esperanto characters.

    SYNOPSIS

    use Lingua::EO::Supersignoj;

    Lingua::Phonology::Segment 0.32 (by Jesse S. Bangs)
    Lingua::Phonology::Segment is a module to represent a segment as a bundle of feature values.

    SYNOPSIS

    use Lingua::Phono

    Lingua::Phonology::FileFormatPOD 0.32 (by Jesse S. Bangs)
    Lingua::Phonology::FileFormatPOD is a Perl module that contains documentation for the xml file format written and read by Lingua::Pho

    Lingua::ZH::Currency::UpperCase 0.01 (by Chun Sheng)
    Lingua::ZH::Currency::UpperCase is a Perl module to convert Currency Numbers to Chinese UpperCase Format.

    SYNOPSIS

    use Lingua

    Lingua::Phonology::Features 0.32 (by Jesse S. Bangs)
    Lingua::Phonology::Features is a module to handle a set of hierarchical features.

    SYNOPSIS

    use Lingua::Phonology;

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    Lingua::ZH::DateTime 0.01 (by hoowa sun and Meng.H)
    Lingua::ZH::DateTime is a Perl module to convert time to chinese format.

    SYNOPSIS

    This module can convert asctime to chinese fo

    Lingua::ZH::HanConvert 0.12 (by David Chan)
    Lingua::ZH::HanConvert is a Perl module to convert between Traditional and Simplified Chinese characters.

    SYNOPSIS

    #!perl -


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell



    Top tags