>
> Excellent! Write that and I'll stick it into
> Lingua::EN::Numbers::Replace::Digits::in::Sentences::or::Phrases::with::Actual::Words.[1]
> :-)
You've given me another idea for a module!
Acme::CPANAuthors::SmartAlecs
> So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers) and "22"
> into "twenty-second" (ditto), and "3/4" into "three quarters"
> (Lingua::EN::Fractions) and even "1994" into "nineteen ninety-four"
> (Lingua::EN::Numbers::Years). What I actually _want_, though, is to turn "In
>
Neil,
How about something along the lines of Lingua::EN::WordifyNumerics?
Hmmm ... you think that's better than Daniel's suggestion of
"Lingua::EN::Numbers::Combined"? Thats what I'm leaning towards ATM.
Considering just the name:
Lingua::EN::Numbers::Combined
I might think:
* Lingua
David,
You have a hard problem to solve here.
"In 814 Charlemagne died"
-> Eight fourteen
"In the year of our lord 814 ..."
-> Eight hundred and fourteen
"In 814 cases out of 1000 the patient recovered"
-> Eight hundred and fourteen
Oh, it can never be perfect, that's for sure. My
On Jul 10, 2014 12:15 AM, "Buddy Burden" wrote:
>
> What I actually _want_, though, is to turn "In 1994, on the 22nd of
February, 3/4 of the 36 members were present" into "In nineteen
ninety-four, on the twenty-second of February, three quarters of the
thirty-six members were present".
Radical id
On Fri, Jul 11, 2014 at 03:22:57PM +0100, Neil Bowers wrote:
> This has given me an idea for another module, Lingua::EN::Numbers::WithUnits,
> or a new function in Lingua::EN::Numbers :-)
>
> 5oz becomes "five ounces"
> 8kgs becomes "eight kilograms"
I'd start with Lingua::EN::Units, and have th
>> How about something along the lines of Lingua::EN::WordifyNumerics?
>
> Hmmm ... you think that's better than Daniel's suggestion of
> "Lingua::EN::Numbers::Combined"? Thats what I'm leaning towards ATM.
Considering just the name:
Lingua::EN::Numbers::Combined
I might think:
Lingu
On Thu, Jul 10, 2014 at 05:36:09PM -0400, Daniel Staal wrote:
> My suggestions:
>
> Lingua::EN::Numbers::All
> Lingua::EN::Numbers::Combined
>
> I'd lean towards ::Combined and allowing the user to specify what
> sub-functions they want to be using. (Base numbers and fractions? Years
> and b
Neil,
So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers) and "22" into "twenty-second" (ditto), and "3/4" into
"three quarters" (Lingua::EN::Fractions) and even "1994" into "nineteen ninety-four" (Lingua::EN::Numbers::Years). What I actually _want_, though,
is to turn "In 199
Daniel,
Plus I thought it would be useful to solicit opinions on naming. :-)
My suggestions:
Lingua::EN::Numbers::All
Lingua::EN::Numbers::Combined
I'd lean towards ::Combined and allowing the user to specify what
sub-functions they want to be using. (Base numbers and fractions?
Years and
--As of July 10, 2014 1:32:23 PM -0700, Buddy Burden is alleged to have
said:
ether,
So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers)
and "22" into "twenty-second" (ditto), and "3/4" into "three
quarters" (Lingua::EN::Fractions) and even "1994" into "nineteen
ninety-four" (
ether,
So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers)
and "22" into "twenty-second" (ditto), and "3/4" into "three
quarters" (Lingua::EN::Fractions) and even "1994" into "nineteen
ninety-four" (Lingua::EN::Numbers::Years). What I actually _want_,
though, is to turn "In 1994
On Wed, Jul 09, 2014 at 09:14:47PM -0700, Buddy Burden wrote:
> So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers)
> and "22" into "twenty-second" (ditto), and "3/4" into "three
> quarters" (Lingua::EN::Fractions) and even "1994" into "nineteen
> ninety-four" (Lingua::EN::Numbers::
Guys,
So, I know how to turn "36" into "thirty-six" (Lingua::EN::Numbers) and
"22" into "twenty-second" (ditto), and "3/4" into "three quarters"
(Lingua::EN::Fractions) and even "1994" into "nineteen ninety-four"
(Lingua::EN::Numbers::Years). What I actually _want_, though, is to
turn "In 19
14 matches
Mail list logo