×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On Mon, Jan 14, 2019 at 2:36 PM Tyler, Matt <matt.tyler@xxxxxxxxxxxxxx>
wrote:
How does Python convert to proper case MCDONALD or MACDONALD, etal.? The
code I gave out we use and we know that it has this limitation.
Well, any code in any language to deal with English capitalization of
proper names is going to need a dictionary structure of some sort. Python
presents such structures, which you'll need to populate and create/borrow
some code that looks 'em up.
There's no algorithm other than dictionary lookup that's going to
distinguish between the separate cases of
MacDonald
versus
Mackenzie
Plus, the tool I sent gives me the ability to wrap it in an external SQL
procedure. How would Python accomplish this?
If you can call a CL passing parameters, you can call Python with those
params, because you can call Python from a CL.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.