marvit@hplpm.hpl.hp.com (Peter Marvit) (02/05/91)
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 :