On 11 May 2012 22:17, Dale Puch <dale.p...@gmail.com> wrote:
> I understand the script checks for only one instance of the abbreviation.
> My point was what is someone manually expanded ONE of the abbreviations,
> leaving "st something street"?  Is that checked for?  The question also
> applies to "Dr something Dr" previously changed to "Dr something Drive", and
> possibly directionals as well.  Serge seems to be doing a good job with
> this, and this is just feedback so there aren't any incorrect expansions.

The way the old script deals with those, is it has a list of
abbreviations that come as a suffix and those that come as a prefix,
from the TIGER documentation.  It checks suffixes starting from the
end, so if you have "St something St E" or "St something St East",
it'll only check "E" or "East" and then "St" and then stop because
"something" is not a known suffix.

There are cases where something can be both a suffix and a prefix, but
those cases are known from the TIGER documentation.

Note that that "St something St", can be "Saint something St", but it
can also be "State something St".  The script uses a list of things
that can be saint and those that can be state owned.

Cheers

_______________________________________________
Talk-us mailing list
Talk-us@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-us

Reply via email to