[Lexicog] Natural Language --> Integer Value

Mike Maxwell maxwell at LDC.UPENN.EDU
Sun Aug 13 20:33:56 UTC 2006


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


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/lexicographylist/

<*> To unsubscribe from this group, send an email to:
    lexicographylist-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the Lexicography mailing list