Understanding the Sun Match Engine

The Address Constants File (addressConstants*.cfg)

The address constants file defines certain information about the standardization files used for processing address data, primarily the number of lines contained in each file. The number of lines specified here must be equal to or greater than the number of lines actually contained in each file. The constants file for United States data is in the Standardization node of the project and is named addressConstants.cfg; the constants file for the other domains is located under the domain name node.

Table 15 lists and describes each parameter in the constants file. The files referenced by these parameters are described on the following pages.

Table 15 Address Constants File Parameters

Parameter 

Description 

maxWords

The maximum number of words in a given address field. 

clueArraySize

The maximum number of lines in the address clues file (addressClueAbbrev*.dat).

patternArraySize

The maximum number of lines in the patterns file (addressPatterns*.dat).

maxPattSize

The maximum length (in characters) of any pattern in the address patterns file. 

imageSize

The maximum length of an input address field. 

nameOutputFieldSize

The maximum output length of a street or property name. 

numberOutputFieldSize

The maximum output length of a house number or rural route number within the structure identifier or post office box fields. 

directionOutputFieldSize

The maximum output length of a directional field (prefix or suffix). 

typeOutputFieldSize

The maximum output length of a street type field (prefix or suffix). 

prefixOutputFieldSize

The maximum length of a number prefix field. 

suffixOutputFieldSize

The maximum length of a number suffix field. 

extensionOutputFieldSize

The maximum output length of any extension field. 

extrainfoOutputFieldSize

The maximum output length of any miscellaneous information that is not recognized as a known type.