From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6e272adfef17f353,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-07 09:11:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!server3.netnews.ja.net!south.jnrs.ja.net!server2.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: Paul Gregory Newsgroups: comp.lang.ada Subject: Hi, I'm new to ADA Date: Fri, 07 Feb 2003 16:31:17 +0000 Organization: University of Brighton Message-ID: <3E43DF55.DC92A8E8@bton.ac.uk> NNTP-Posting-Host: cs205a2.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 1044635389 21450 193.62.172.81 (7 Feb 2003 16:29:49 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 7 Feb 2003 16:29:49 GMT X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:33884 Date: 2003-02-07T16:29:49+00:00 List-Id: I'm a complete novice as all you guys once were in terms of ADA and I've been given a small school project to do. I'm sure as a novice you experienced many frustrations and difficulties along the way ! As you people are probably the best people to ask I was wondering if any of you could give me any tips as to how to go about the following: --------------------------------------------------------- --------------------------------------------------------- The task You are invited to design and implement a translation program which will take an English sentence and translate it into French (and optionally translate from French to English). Your program will use a simple dictionary containing the following words: English French big grand black noir cat chat dog chien is est small petit the le white blanc Example 1 Do you wish to add words to the dictionary?: N Please enter a sentence: The cat is white. The French translation of your sentence is: Le chat est blanc. Example 2 Do you wish to add words to the dictionary?: N Please enter a sentence: The cat is dead. I cannot translate that sentence. Example 3 Do you wish to add words to the dictionary?: Y English word: horse Equivalent French word: cheval Do you wish to add more words?: N Please enter a sentence: Le cheval est grand. The English translation of your sentence is: The horse is big. ---------------------------------------------------------------------------- ---------------------------------------- I know you all have far more important things to be getting on with but any advice would be brilliant ! Many thanks, Paul.