Article View: comp.text
Article #2479UPPER CASE to Mixed case
From: Peter Marvit
Date: Mon, 04 Feb 1991 20:19
Date: Mon, 04 Feb 1991 20:19
21 lines
1328 bytes
1328 bytes
Aaargh! While this may sound silly, my request really is serious.
I need to (intelligently) tranform a batch of text from ALL CAPS to Mixed
case. I don't need 100%, but close would be fine. A stupid algorithm
(down-case everything not at the start of a sentence or some such) would,
of course, miss acronyms (U.S.A., IBM, AT&T), chemical compounds (HeNe,
SiO2), proper names (Peter, Paul, Pittsburgh), etc.
Ideally, someone has code which will do a reasonable job already. Else,
someone has skeleton code with a dictionary of exceptions. Else, I may
end up kludging something together. (Yuck)
Please e-mail offers, since the news feed is being a bit unstable on my
machine.
Cheers,
Peter "miniscule" Marvit
: Peter Marvit Hewlett-Packard Labs in Palo Alto, CA (415) 857-6646 :
: Internet: <marvit@hplabs.hpl.hp.com> uucp: {any backbone}!hplabs!marvit :
Technical Details
Message-ID:
<MARVIT.91Feb4151958@hplpm.hpl.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!ucivax!orion.oac.uci.edu!ucsd!ucbvax!hplabs!hplabsz!marvitShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!ucivax!orion.oac.uci.edu!ucsd!ucbvax!hplabs!hplabsz!marvit From: marvit@hplpm.hpl.hp.com (Peter Marvit) Newsgroups: comp.text Subject: UPPER CASE to Mixed case Message-ID: <MARVIT.91Feb4151958@hplpm.hpl.hp.com> Date: 4 Feb 91 20:19:58 GMT Sender: news@hplabsz.HP.COM Organization: Hewlett-Packard Laboratories, Palo Alto, CA Lines: 21