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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,89426424bbf2d0d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-24 05:17:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Help! ( University of Brighton homework problem ) Date: 24 Feb 2003 07:07:06 -0600 Organization: LJK Software Message-ID: References: <3E5A05A2.3F1379EC@bton.ac.uk> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1046092021 23915 192.135.80.34 (24 Feb 2003 13:07:01 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 24 Feb 2003 13:07:01 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:34508 Date: 2003-02-24T07:07:06-06:00 List-Id: In article <3E5A05A2.3F1379EC@bton.ac.uk>, Paul Gregory writes: > I'm having a few problems with my school ADA project. > > I have to write a program which translates 10 English words to French > but when it Translates a sentence it does it in upper case instead of a > capital letter for the first letter and lower case for the rest. > > Any ideas how I could get round this ? If I were doing it, I would make a separate phase to apply the capitalization rules for the output language. You might want to do the same thing for punctuation, since if you later change the program to have the output language be Spanish, I think the punctuation rules are different for questions.