From df8adf42c6e5e8683d18e5d79aafbce755313d4c Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 10 Oct 2014 23:26:57 +0000 Subject: [PATCH] Add missing pot git-svn-id: http://svn.osgeo.org/postgis/trunk@13058 b70326c6-7e19-0410-871a-916f4a2858ee --- .../extras_address_standardizer.xml.pot | 704 ++++++++++++++++++ 1 file changed, 704 insertions(+) create mode 100644 doc/po/templates/extras_address_standardizer.xml.pot diff --git a/doc/po/templates/extras_address_standardizer.xml.pot b/doc/po/templates/extras_address_standardizer.xml.pot new file mode 100644 index 000000000..abc2507b5 --- /dev/null +++ b/doc/po/templates/extras_address_standardizer.xml.pot @@ -0,0 +1,704 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2014-10-10 23:07+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: application/x-xml2pot; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Tag: title +#: extras_address_standardizer.xml:3 +#, no-c-format +msgid "Address Standardizer" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:4 +#, no-c-format +msgid "This is a fork of the PAGC standardizer (original code for this portion was PAGC PostgreSQL Address Standardizer)." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:5 +#, no-c-format +msgid "The address standardizer is a single line address parser that takes an input address and normalizes it based on a set of rules stored in a table and helper lex and gaz tables." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:6 +#, no-c-format +msgid "The code is built into a single postgresql extension library called address_standardizer which can be installed with CREATE EXTENSION address_standardizer;." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:7 +#, no-c-format +msgid "The code for this extension can be found in the PostGIS extensions/address_standardizer and is currently self-contained." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:8 +#, no-c-format +msgid "For installation instructions refer to: ." +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:9 +#, no-c-format +msgid "How the Parser Works" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:10 +#, no-c-format +msgid "The parser works from right to left looking first at the macro elements for postcode, state/province, city, and then looks micro elements to determine if we are dealing with a house number street or intersection or landmark. It currently does not look for a country code or name, but that could be introduced in the future." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:17 +#, no-c-format +msgid "Country code" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:18 +#, no-c-format +msgid "Assumed to be US or CA based on: postcode as US or Canada state/province as US or Canada else US" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:21 +#, no-c-format +msgid "Postcode/zipcode" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:22 +#, no-c-format +msgid "These are recognized using Perl compatible regular expressions. These regexs are currently in the parseaddress-api.c and are relatively simple to make changes to if needed." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:27 +#, no-c-format +msgid "State/province" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:28 +#, no-c-format +msgid "These are recognized using Perl compatible regular expressions. These regexs are currently in the parseaddress-api.c but could get moved into includes in the future for easier maintenance." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:37 +#, no-c-format +msgid "This section lists the PostgreSQL data types installed by Address Standardizer extension. Note we describe the casting behavior of these which is very important especially when designing your own functions." +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:42 +#, no-c-format +msgid "Address Standardizer Types" +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:45 +#, no-c-format +msgid "stdaddr" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:46 +#, no-c-format +msgid "A composite type that consists of the elements of an address. This is the return type for standardize_address function." +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:49 extras_address_standardizer.xml:152 extras_address_standardizer.xml:214 extras_address_standardizer.xml:256 extras_address_standardizer.xml:314 extras_address_standardizer.xml:373 +#, no-c-format +msgid "Description" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:50 +#, no-c-format +msgid "A composite type that consists of elements of an address. This is the return type for function. Some descriptions for elements are borrowed from PAGC Postal Attributes." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:51 +#, no-c-format +msgid "The token numbers denote the reference number in the rules table." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:52 extras_address_standardizer.xml:321 extras_address_standardizer.xml:379 +#, no-c-format +msgid "&address_standardizer_required;" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:55 +#, no-c-format +msgid "building" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:57 +#, no-c-format +msgid "is text (token number 0): Refers to building number or name. Unparsed building identifiers and types. Generally blank for most addresses." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:60 +#, no-c-format +msgid "house_num" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:62 +#, no-c-format +msgid "is a text (token number 1): This is the street number on a street. Example 75 in 75 State Street." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:65 +#, no-c-format +msgid "predir" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:66 +#, no-c-format +msgid "is text (token number 2): STREET NAME PRE-DIRECTIONAL such as North, South, East, West etc." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:68 +#, no-c-format +msgid "qual" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:70 +#, no-c-format +msgid "is text (token number 3): STREET NAME PRE-MODIFIER Example OLD in 3715 OLD HIGHWAY 99." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:73 +#, no-c-format +msgid "pretype" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:75 +#, no-c-format +msgid "is text (token number 4): STREET PREFIX TYPE" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:78 +#, no-c-format +msgid "name" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:80 +#, no-c-format +msgid "is text (token number 5): STREET NAME" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:83 +#, no-c-format +msgid "suftype" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:85 +#, no-c-format +msgid "is text (token number 6): STREET POST TYPE e.g. St, Ave, Cir. A street type following the root street name. Example STREET in 75 State Street." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:88 +#, no-c-format +msgid "sufdir" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:90 +#, no-c-format +msgid "is text (token number 7): STREET POST-DIRECTIONAL A directional modifier that follows the street name.. Example WEST in 3715 TENTH AVENUE WEST." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:93 +#, no-c-format +msgid "ruralroute" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:95 +#, no-c-format +msgid "is text (token number 8): RURAL ROUTE . Example 8 in RR 7." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:98 +#, no-c-format +msgid "extra" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:100 +#, no-c-format +msgid "is text: Extra information like Floor number." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:103 +#, no-c-format +msgid "city" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:105 +#, no-c-format +msgid "is text (token number 10): Example Boston." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:108 +#, no-c-format +msgid "state" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:110 +#, no-c-format +msgid "is text (token number 11): Example MASSACHUSETTS" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:113 +#, no-c-format +msgid "country" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:115 +#, no-c-format +msgid "is text (token number 12): Example USA" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:118 +#, no-c-format +msgid "postcode" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:120 +#, no-c-format +msgid "is text POSTAL CODE (ZIP CODE) (token number 13): Example 02109" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:123 +#, no-c-format +msgid "box" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:125 +#, no-c-format +msgid "is text POSTAL BOX NUMBER (token number 14 and 15): Example 02109" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:128 +#, no-c-format +msgid "unit" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:130 +#, no-c-format +msgid "is text Apartment number or Suite Number (token number 17): Example 3B in APT 3B." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:141 +#, no-c-format +msgid "This section lists the PostgreSQL table formats used by the address_standardizer for normalizing addresses. Note that these tables do not need to be named the same as what is referenced here. You can have different lex, gaz, rules tables for each country for example or for your custom geocoder. The names of these tables get passed into the address standardizer functions." +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:145 +#, no-c-format +msgid "Address Standardizer Tables" +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:148 +#, no-c-format +msgid "rules table" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:149 +#, no-c-format +msgid "The rules table contains a set of rules that maps address input sequence tokens to standardized output sequence" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:153 +#, no-c-format +msgid "A rules table must have at least the following columns, though you are allowed to add more for your own uses." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:157 extras_address_standardizer.xml:220 extras_address_standardizer.xml:262 +#, no-c-format +msgid "id" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:159 extras_address_standardizer.xml:222 extras_address_standardizer.xml:264 +#, no-c-format +msgid "Primary key of table" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:162 +#, no-c-format +msgid "rule" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:164 +#, no-c-format +msgid "text field denoting the rule. Details at PAGC Address Standardizer Rule records." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:165 +#, no-c-format +msgid "A rule consists of a set of non-negative integers representing input tokens, terminated by a -1, followed by an equal number of non-negative integers representing postal attributes, terminated by a -1, followed by an integer representing a rule type, followed by an integer representing the rank of the rule. The rules are ranked from 0 (lowest) to 17 (highest)." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:166 +#, no-c-format +msgid "So for example the rule 2 0 2 22 3 -1 5 5 6 7 3 -1 2 6 maps to sequence of tokens TYPE NUMBER TYPE DIRECT QUALIF to the output sequence STREET STREET SUFTYP SUFDIR QUALIF. The rule is an ARC_C rule of rank 6." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:171 +#, no-c-format +msgid "Each rule has a rule type which is denoted by one of following:" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:174 +#, no-c-format +msgid "MACRO_C" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:176 +#, no-c-format +msgid "(token number = \"0\"). The class of rules for parsing MACRO clauses." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:180 +#, no-c-format +msgid "MICRO_C" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:182 +#, no-c-format +msgid "(token number = \"1\"). The class of rules for parsing full MICRO clauses (ie ARC_C plus CIVIC_C). These rules are not used in the build phase." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:186 +#, no-c-format +msgid "ARC_C" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:188 +#, no-c-format +msgid "(token number = \"2\"). The class of rules for parsing MICRO clauses, excluding the HOUSE attribute." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:192 +#, no-c-format +msgid "CIVIC_C" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:194 +#, no-c-format +msgid "(token number = \"3\"). The class of rules for parsing the HOUSE attribute." +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:198 +#, no-c-format +msgid "EXTRA_C" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:200 +#, no-c-format +msgid "(token number = \"4\"). The class of rules for parsing EXTRA attributes - attributes excluded from geocoding. These rules are not used in the build phase." +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:210 +#, no-c-format +msgid "lex table" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:211 +#, no-c-format +msgid "A lex table is used to classify alphanumeric input and associate that input with (a) input tokens ( See Input Tokens) and (b) standardized representations." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:215 +#, no-c-format +msgid "A lex (short for lexicon) table is used to classify alphanumeric input and associate that input with (a) input tokens and (b) standardized representations. Things you will find in these tables are ONE mapped to stdworkd: 1." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:217 +#, no-c-format +msgid "A lex has at least the following columns in the table. You may add" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:225 extras_address_standardizer.xml:267 +#, no-c-format +msgid "seq" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:227 extras_address_standardizer.xml:269 +#, no-c-format +msgid "integer: definition number?" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:231 extras_address_standardizer.xml:272 +#, no-c-format +msgid "word" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:233 extras_address_standardizer.xml:274 +#, no-c-format +msgid "text: the input word" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:236 extras_address_standardizer.xml:277 +#, no-c-format +msgid "stdword" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:238 extras_address_standardizer.xml:279 +#, no-c-format +msgid "text: the standardized replacement word" +msgstr "" + +#. Tag: term +#: extras_address_standardizer.xml:241 extras_address_standardizer.xml:282 +#, no-c-format +msgid "token" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:243 extras_address_standardizer.xml:284 +#, no-c-format +msgid "integer: the kind of word it is. Only if it is used in this context will it be replaced. Refer to PAGC Tokens." +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:252 +#, no-c-format +msgid "gaz table" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:253 +#, no-c-format +msgid "A gaz table is used to standardize place names and associate that input with (a) input tokens ( See Input Tokens) and (b) standardized representations." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:257 +#, no-c-format +msgid "A gaz (short for gazeteer) table is used to classify place names and associate that input with (a) input tokens and (b) standardized representations. For example if you are in US, you may load these with State Names and associated abbreviations." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:259 +#, no-c-format +msgid "A gaz table has at least the following columns in the table. You may add more columns if you wish for your own purposes." +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:295 +#, no-c-format +msgid "Address Standardizer Functions" +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:298 +#, no-c-format +msgid "parse_address" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:300 +#, no-c-format +msgid "Takes a 1 line address and breaks into parts" +msgstr "" + +#. Tag: funcprototype +#: extras_address_standardizer.xml:305 +#, no-c-format +msgid "record parse_address text address" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:316 +#, no-c-format +msgid "Returns takes as input an address, and returns a record output consisting of fields num, street, street2, address1, city, state, zip, zipplus, country." +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:320 extras_address_standardizer.xml:378 +#, no-c-format +msgid "Availability: 2.2.0" +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:326 extras_address_standardizer.xml:384 +#, no-c-format +msgid "Examples" +msgstr "" + +#. Tag: programlisting +#: extras_address_standardizer.xml:328 +#, no-c-format +msgid "" + "SELECT num, street, city, zip, zipplus FROM parse_address('1 Devonshire Place, Boston, MA 02109-1234'); \n" + " num | street | city | zip | zipplus \n" + "-----+------------------+--------+-------+--------- \n" + " 1 | Devonshire Place | Boston | 02109 | 1234" +msgstr "" + +#. Tag: title +#: extras_address_standardizer.xml:338 extras_address_standardizer.xml:417 +#, no-c-format +msgid "See Also" +msgstr "" + +#. Tag: refname +#: extras_address_standardizer.xml:346 +#, no-c-format +msgid "standardize_address" +msgstr "" + +#. Tag: refpurpose +#: extras_address_standardizer.xml:348 +#, no-c-format +msgid "Returns an stdaddr form of an input address utilizing lex, gaz, and rule tables." +msgstr "" + +#. Tag: funcsynopsis +#: extras_address_standardizer.xml:352 +#, no-c-format +msgid " stdaddr standardize_address text lextab text gaztab text rultab text address stdaddr standardize_address text lextab text gaztab text rultab text micro text macro " +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:375 +#, no-c-format +msgid "Returns an form of an input address utilizing table name, , and table names and an address." +msgstr "" + +#. Tag: programlisting +#: extras_address_standardizer.xml:386 +#, no-c-format +msgid "" + "SELECT * FROM standardize_address('tiger.pagc_lex', \n" + " 'tiger.pagc_gaz', 'tiger.pagc_rules', 'One Devonshire Place, PH 301, Boston, MA 02109-1234');" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:389 +#, no-c-format +msgid "Make easier to read we'll dump output using hstore extension CREATE EXTENSION hstore; you need to install" +msgstr "" + +#. Tag: programlisting +#: extras_address_standardizer.xml:390 +#, no-c-format +msgid "" + "SELECT (each(hstore(p))).* \n" + " FROM standardize_address('tiger.pagc_lex', 'tiger.pagc_gaz', \n" + " 'tiger.pagc_rules', 'One Devonshire Place, PH 301, Boston, MA 02109-1234') As p;" +msgstr "" + +#. Tag: screen +#: extras_address_standardizer.xml:393 +#, no-c-format +msgid "" + "key | value \n" + "------------+----------------- \n" + " box | \n" + " city | BOSTON \n" + " name | DEVONSHIRE \n" + " qual | \n" + " unit | # PENTHOUSE 301 \n" + " extra | \n" + " state | MA \n" + " predir | \n" + " sufdir | \n" + " country | USA \n" + " pretype | \n" + " suftype | PL \n" + " building | \n" + " postcode | 02109 \n" + " house_num | 1 \n" + " ruralroute | \n" + "(16 rows)" +msgstr "" + +#. Tag: para +#: extras_address_standardizer.xml:419 +#, no-c-format +msgid ", , , ," +msgstr "" + -- 2.50.1