Efficient algorithms for number systems

From: Alex (me_at_bsd.st)
Date: 03/24/04


Date: Wed, 24 Mar 2004 06:44:32 GMT

Hi,

I need to design four different algorithms that will read
numbers and produce strings of words are they are pronounced in 4 different
languages. English, Traditional Welsh, Japanese and French
For example

English 105, (one hundred five)
Welsh 39, (pedwar ar bymtheg ar hugain) consisting 4, 15 and 20
etc

I don't know how to design algorithms for non-English languages
as I don't know the rules for constructing these numbers.

I have compiled lists of the numbers for each language between 0-9999
and sets of unique words used using a script that reads output
from the program and generates these sequences.

http://users.tpg.com/galutva/welsh_file
http://users.tpg.com/galutva/set_welsh
http://users.tpg.com/galutva/jap_1
http://users.tpg.com/galutva/set_jap
http://users.tpg.com/galutva/french_file
http://users.tpg.com/galutva/set_french

I desgined an algorithm for English I am not sure if it's a good algorithm.
Obvious solution is to put those in files and use them as databases. This
solution is not acceptable and I need to design algorithms

Any help or suggestions would be appreciated.

Thanks!



Relevant Pages

  • Re: high level languages for synthesis
    ... languages are more distinct from their cycle-accurate cousins than ... straightforward to use a spiral design methodology using VHDL, ... implement a wide variety of other scientific algorithms. ... FPGA-targeting C-syntax HLL is somehow inherently sequential. ...
    (comp.arch.fpga)
  • Re: OOP/OOD Philosophy
    ... languages only in a procedural way). ... > "structured design" and an UML class diagram. ... > Referent to the "infinite sets" want to say that some time ago a went to ... You have a series of algorithms ...
    (comp.object)
  • Re: Multilingual support (repost)
    ... A/E/C Consulting, Web Design, e-Commerce Software Development ... > I'd like to use a solution that will allow me to develop web pages> with English text, and then switch languages in the Visual Studio> interface and translate into a second language. ... > Will Whidbey provide additional multilingual support in its design> environment? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Snooty or not
    ... is good English, and good Frise." ... closest languages to English (not counting English dialects as ... "It is not too much to say that every indication of Design in the Kosmos is so ... much evidence against the Omnipotence of the Designer. ...
    (talk.origins)
  • Re: A multilingual site in html?
    ... simply because there's not really any more elegant way to translate it ... than the normal English connotations of "many", ... many languages, though this is mostly a practical issue. ... In database design, if you want to be able to store, say, up to two ...
    (alt.html)