Postal Matcher Attributes for China, Korea, Taiwan, and Japan - trillium_discovery - trillium_quality - 17.1

Trillium Input/Output Attributes Reference Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium Input/Output Attributes Reference Guide
First publish date
2008
Last updated
2024-06-06
Published on
2024-06-06T06:34:44.253206

The table given below lists the Postal Matcher attributes for China (CN), Korea (KR), Taiwan (TW), and Japan (JP).

Note: The attributes for Japan in this table are used for the Standard JP Postal Matcher only. For information about the ACE Postal Matcher attribute, see ACE Postal Matcher Attributes.
Note: When you use the new GAV table for Korea (kr_kpos_glob.tbl) to obtain a new set of 5-digit postal codes, you will see some differences in the output attributes. See New Postal Code System for Korea for details.
Table 1. CN, KR, TW, and JP Postal Matcher Attributes

Attribute Name

Country

Length

Description

pr_addr_bnp_name

China

110

Business name within the address line.

pr_addr_mail

All

100

Output address in postal mailing format. Part 1 (pr_addr_mail1) + Part 2 (pr_addr_mail2). See Postal Mailing Format for Asian Countries for default format.

pr_addr_mail1

All

100

Part 1 of two-attribute output address in postal mailing format. See Postal Mailing Format for Asian Countries for default format.

pr_addr_mail2

All

100

Part 2 of two-attribute output address in postal mailing format. See Postal Mailing Format for Asian Countries for default format.

pr_addr_mail3

Korea

100

Additional output address in postal mailing format for Korea. This attribute will be populated with the new street-based address. See Postal Mailing Format for Asian Countries for default format.

USE_STREET_FORMATTED_ADDRESS should be set to Y to generate this output. When enabled, pr_addr_mail is constructed with pr_addr_mail1 + pr_addr_mail3.

pr_addr_mask_final

All

20

Final address mask after unknown tokens have been resolved.

pr_addr_mask_orig

All

20

Original token mask for address information.

pr_addr_orig_display

All

100

Original address from ADDRESS_LINE_n_TYPE  A

(where n  = 1 - 10 and A = General Address Indicator)

pr_alley

China, Taiwan

8

Attribute for alley. ASCII numeric.

pr_alley_display_full

Taiwan

16

Original alley value.

pr_apartment_number

All

12

Apartment building indicator (apartment-dong).

pr_apartment_number_display_full

China, Taiwan

20

 

Apartment building number and building number indicator.

pr_apartment_number_display

All

20

Apartment building number including non-Arabic numerals.

pr_area_name

All

40

Area name.

pr_block_number

All

16

Block number (including non-Arabic numerals).

pr_block_number_display_full

China, Korea, Taiwan

30

Block number and block number indicator.

pr_building_name

All

40

Name of building.

pr_building_number

All

4

Building number (within a complex). If the value is not found, it prints out blank.

pr_building_number_display

All

20

Building number including non-Arabic numerals.

pr_building_number_display_full

All

20

Building number and building number indicator.

pr_entrance_number

All

20

Entrance number.

pr_entrance_number_

display

All

20

Entrance number including non-Arabic numerals.

pr_entrance_number_

display_full

All

20

Entrance number and entrance number indicator.

pr_floor_number

All

8

Floor number.

pr_floor_number_display

All

20

Floor number in Unicode.

pr_floor_number_display_full

All

20

Floor number and floor number indicator.

pr_geocode_fail

All

1

Postal Matcher Fail Level (0-5).

0—No fail level

1—Fail level 1 or level 2

2—Fail level 3 or level 4

3—No range to match (ex. street number is out of range)

4—Unknown token

5—No postcode

pr_house_number

All

12

House number (ho) / Street number

Also, used as sub-apartment number where "apartment number" is the Apartment Building indicator and "sub-apartment" is the house or room number.

pr_house_number_display

All

20

House number including non-Arabic numerals.

pr_house_number_display_full

All

30

House number and house number indicator.

pr_ignore_token_n

(n=1-4)

All

40

Tokens that you specify to be ignored in the Parser Definition (Word/Pattern) file.

pr_korea_ban

Korea

4

Ban value (administrative sub-district code). This attribute will be populated if the input record contains the ban number.

pr_korea_tong

Korea

4

Tong value (administrative district code). This attribute will be populated if the input record contains the tong number.

pr_lane

China, Taiwan

8

Lane. ASCII numeric.

pr_lane_display_full

Taiwan

16

Original lane value.

pr_level1

All

20

Level 1 value. Province or major metropolitan city for China, Korea and Taiwan. Prefecture for Japan.

pr_level1_level2_changed

All

1

Change flag. Values are:

Y—There are changes in level 1 or level 2.

Blank—No change or no match to table.

pr_level2

All

20

Level 2 value. County and/or smaller city, ward, town, village.

pr_level3

All

60

Level 3 value (district, block).

pr_level3_level4_changed

All

1

Change flag. Values are:

Y—There are changes in level 3 or level 4.

Blank—No change or no match to table.

pr_level4

All

60

Apartment name, street name and others.

pr_neighborhood

China

40

Neighborhood or small area.

pr_pobox

All

40

Post office box number.

pr_post_office_name

Taiwan

40

Post office name.

pr_postcode

All

12

Postal code.

pr_postcode_changed

All

1

Change flag. Values are:

Y—There are changes in postcode.

Blank—No change or no match to table.

pr_review_code_nn

(nn=01-20)

All

3

Review codes.

pr_review_group

All

3

Review group output attributes.

pr_road

Taiwan

20

Name of road. Note that the level4 value is the name of a place on the road.

pr_room_type

All

40

Designator and characters preceding it for a specific type of a room.

pr_room_type_full

All

40

Specific type of a room including the designator and characters.

pr_section

China, Taiwan

8

Section. ASCII numeric.

pr_section_display_full

Taiwan

16

Original section value.

pr_status

All

2

Values:

0—No error

1—Review group threshold exceeded

22—Unknown tokens present

pr_sub_apartment_number

China, Taiwan

4

The second portion of the apartment number. For example, apartment number 5-7.  

pr_sub_block_number

All

12

Sub-block number.

pr_sub_house

Taiwan

4

Sub-house number.

Ex. 5-12 (12 is sub-house number)

pr_unknown_token_n

(n=1-4)

All

40

Unknown tokens remaining after Parsing process.

pr_validate_with_correction

All

1

Validation flag. Values are:

Y—Fail Level (pr_geocode_fail) is 0 and any of the change flags are set to Y.

N—Fail Level (pr_geocode_fail) is 0 and all of the change flags are set to blank.

Blank—Fail Level (pr_geocode_fail) is not 0 (no match to table).

Note: The change flags are stored in pr_level1_level2_changed, pr_level3_level4_changed, and pr_postcode_changed.