[Lexicog] Natural Language --> Integer Value
Sherman Monroe
shermandmonroe at YAHOO.COM
Mon Aug 14 12:56:55 UTC 2006
Pretty neat. Although, cypher's not exclusive to number generation, it's just an application of the framework.
Thanks for the link.
sherman
Mike Maxwell <maxwell at ldc.upenn.edu> wrote: shermandmonroe wrote:
> Here is a program which generates the integer value of natural
> language numbers, e.g. nine hundred twenty eight million two thousand
> fourteen --> 928,002,014. The grammar can be extended to cover numbers
> in any language.
You may be interested in a similar program, done with the Xerox Finite
State toolkit. Some examples are at
http://www.stanford.edu/~laurik/fsmbook/home.html (under Code Examples).
Unfortunately, the numbers past 99 are left as an exercise for the
student (under Additional Exercises)!
--
Mike Maxwell
maxwell at ldc.upenn.edu
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/lexicography/attachments/20060814/16817ca8/attachment.htm>
More information about the Lexicography
mailing list