Lingua :: NL :: ADRESPARSE

Manipuleer geografische adressen
Download nu

Lingua :: NL :: ADRESPARSE Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Kim Ryan
  • Uitgever website:
  • http://search.cpan.org/~kimryan/Locale-SubCountry-1.37/lib/Locale/SubCountry.pm

Lingua :: NL :: ADRESPARSE Tags


Lingua :: NL :: ADRESPARSE Beschrijving

Geografische adressen manipuleren Lingua :: NL :: ADRESPARSE is een PERL-module die kan worden gebruikt om geografische adressen te manipuleren. Synopsis Gebruik Lingua :: NL :: ADRESPARSE; Mijn% args = (land => 'Australië', auto_clean => 1, force_case => 1, abbrevIate_subcountry => 0, abbreviated_subcountry_only => 1); Mijn $ ADRES = NIEUWE LINGUA :: NL :: ADRESPARSE (% AGS); $ FOUT = $ ADRES-> PARSE ("Unit 2a 14-16 Oude Zuid-hoofd St St Johns Wood NSW 2021 Australië: Hold Mail"); % My_Address = $ Address-> Componenten; Print $ my_Address {sub_property_Identifier}; # Eenheid 2A Print $ My_Address {Property_Identifier}; # 14-16 Print $ my_address {suburb}; # St Johns Wood% My_Formatted_Address = $ Adres-> Case_Components; Print $ My_Formatted_Address {Street}; # Oude zuid-hoofd print $ my_Formatted_address {street_type}; # St jurk_properties = $ address-> eigenschappen; Print $ Adres_Properties {Type}; # suburban print $ address_properties {non_matching}; #: Hold Mail $ CORDE_CASING = $ ADRES-> CASE_AlL; deze module neemt als invoer een suburban, landelijk of postadres in gratis formaat tekst zoals, 2A Low St Kew NSW 212312/3-5 Aubrey St Mount Victoria Victoria 3133 " Old spijt "Wentworth Falls NSW 2782 Australië GPO Box K318, Haymarket, NSW 2000121st Avenue N Suite # 2 Ergens CA 12345 Verenigde Staten Pogingen om het te ontleden. Indien succesvol, is het adres uitgesplitst in zijn componenten en kunnen nuttige functies worden uitgevoerd, zoals: het converteren van boven- of kleine letters naar de titelbehuizing (2A lage steke KEW NSW 2123) die de adressen afzonderlijke componenten (2A, lage, st, kew extraholt , NSW, 2123) Het bepalen van het type formaat Het adres bevindt zich in ('suburban') als het adres niet kan worden geparseerd, hebt u de mogelijkheid om het adres van slechte tekens te reinigen of een deel te halen dat is geparseerd en het gedeelte dat faalde. Deze module kan worden gebruikt voor het analyseren en verbeteren van de kwaliteit van de lijsten van postadressen. Vereisten: · Perl


Lingua :: NL :: ADRESPARSE Gerelateerde software