comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Help! ( University of Brighton homework problem )
Date: 24 Feb 2003 07:07:06 -0600
Date: 2003-02-24T07:07:06-06:00	[thread overview]
Message-ID: <CH1an366dcvB@eisner.encompasserve.org> (raw)
In-Reply-To: 3E5A05A2.3F1379EC@bton.ac.uk

In article <3E5A05A2.3F1379EC@bton.ac.uk>, Paul Gregory <pg16@bton.ac.uk> 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.



  reply	other threads:[~2003-02-24 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 11:44 Help! Paul Gregory
2003-02-24 13:07 ` Larry Kilgallen [this message]
2003-02-24 13:08 ` Help! Preben Randhol
2003-02-24 13:10   ` Help! Preben Randhol
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox