Efficient algorithms for number systems
From: Alex (me_at_bsd.st)
Date: 03/24/04
- Next message: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Previous message: Randy Howard: "Re: To a Programmer or Instructor"
- Next in thread: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Reply: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Reply: Ben Pfaff: "Re: Efficient algorithms for number systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Next message: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Previous message: Randy Howard: "Re: To a Programmer or Instructor"
- Next in thread: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Reply: Alex Gontcharov: "Re: Efficient algorithms for number systems"
- Reply: Ben Pfaff: "Re: Efficient algorithms for number systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|