Detailed Description of Address Identifier

This step performs address identification based on reference data and a parsing rule definition. Address identification means that the step returns a unique address ID corresponding to input values (city, street, street number, etc.) which are parsed and compared with reference data within the identification process. The step checks relationships between particular components and supplies missing relationships.


Top of page

Example: Example
<step id='alg' className='cz.adastra.cif.tasks.addresses.AddressIdentifier'>
  <properties>
    <analyzedAddressLayout>{street} ; {city} ; {zip} ; </analyzedAddressLayout>
    <configFile>address-cfg.xml</configFile>
    <numApproxMatches>0</numApproxMatches>
    <scorer  scoreColumn='tmp_score_AI_10' explanationColumn='tmp_clearing_code_AI_10'>
      <scoringEntries>
          <scoringEntry key='AI_STREET_SURPLUS'     score='0' explain='false'  />
          <scoringEntry key='AI_STREET_MISSING'     score='0' explain='false'  />
          <scoringEntry key='AI_ZIP_NULL'           score='0' explain='false'  />
          <scoringEntry key='AI_LRN_NULL'           score='0' explain='false'  />
          <scoringEntry key='AI_SN_NULL'            score='0' explain='false'  />
          <scoringEntry key='AI_STREET_NULL'        score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_PART_NULL' score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_NULL'      score='0' explain='false'  />
          <scoringEntry key='AI_POST_OFFICE_NULL'   score='0' explain='false'  />
          <scoringEntry key='AI_DISTRICT_NULL'      score='0' explain='false'  />
          <scoringEntry key='AI_ZIP_CHANGED'        score='0' explain='false'  />
          <scoringEntry key='AI_SN_CHANGED'         score='0' explain='false'  />
          <scoringEntry key='AI_LRN_CHANGED'        score='0' explain='false'  />
          <scoringEntry key='AI_STREET_CHANGED'     score='0' explain='false'  />
          <scoringEntry key='AI_MUNICIPALITY_PART_NULL'    score='0' explain='false'  />
          <scoringEntry key='AI_MUNICIPALITY_PART_CHANGED' score='0' explain='false'  />
          <scoringEntry key='AI_DISTRICT_CHANGED'     score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_PART_CHANGED'      score='0' explain='false'  />
          <scoringEntry key='AI_POST_OFFICE_CHANGED'     score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_CHANGED'      score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_SET'      score='0' explain='false'  />
          <scoringEntry key='AI_SN_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_LRN_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_ZIP_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_POST_OFFICE_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_STREET_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_DISTRICT_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_MUNICIPALITY_PART_SET'     score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_PART_SET'     score='0' explain='false'  />
      </scoringEntries>
    </scorer>
    <parserScorer  scoreColumn='tmp_score_AI_10' explanationColumn='tmp_clearing_code_AI_10'>
      <scoringEntries>
          <scoringEntry key='AI_STREET_REPL_PART'        score='0' explain='false'  />
          <scoringEntry key='AI_STREET_REPL_FULL'        score='0' explain='false' />
          <scoringEntry key='AI_LOCALITY_REPL_PART'      score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_REPL_FULL'      score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_PART_REPL_PART' score='0' explain='false'  />
          <scoringEntry key='AI_LOCALITY_PART_REPL_FULL' score='0' explain='false'  />
          <scoringEntry key='AI_POST_OFFICE_REPL_PART'   score='0' explain='false' />
          <scoringEntry key='AI_POST_OFFICE_REPL_FULL'   score='0' explain='false' />
          <scoringEntry key='AI_DISTRICT_REPL_PART'        score='0' explain='false'  />
          <scoringEntry key='AI_DISTRICT_REPL_FULL'        score='0' explain='false' />
          <scoringEntry key='AI_CITY_PART_REPL_PART'        score='0' explain='false'  />
          <scoringEntry key='AI_CITY_PART_REPL_FULL'        score='0' explain='false' />
      </scoringEntries>
    </parserScorer>
    <attributeScorer  scoreColumn='tmp_score_AI_10' explanationColumn='tmp_clearing_code_AI_10'>
      <scoringEntries>
          <scoringEntry key='AI_NO_ADDRESS_ID'      score='0' explain='false'  />
          <scoringEntry key='AI_NO_PATTERN'         score='0' explain='false'  />
          <scoringEntry key='AI_ID_MISMATCH'        score='10' explain='true'  />
          <scoringEntry key='AI_SWAP_LRN_SN'        score='0' explain='false' />
          <scoringEntry key='AI_UNDECIDED_LRN_SN'   score='0' explain='false' />
          <scoringEntry key='AI_CD'             score='0' explain='false' />
          <scoringEntry key='AI_CITY_STREET_SN' score='0' explain='false'  />
          <scoringEntry key='AI_CITY_STREET'    score='0' explain='false'  />
          <scoringEntry key='AI_NOT_VERIFIED'   score='0' explain='false'  />
          <scoringEntry key='AI_PC'             score='0' explain='false'  />
          <scoringEntry key='AI_PC_CITY'        score='0' explain='false'  />
          <scoringEntry key='AI_CITY'           score='0' explain='false'   />
          <scoringEntry key='AI_NO_ADDRESS'     score='0' explain='false'   />
          <scoringEntry key='AI_CITY_CD_STREET' score='0' explain='false'   />
          <scoringEntry key='AI_LRN'            score='0' explain='false'   />
          <scoringEntry key='AI_STREET'         score='0' explain='false'   />
          <scoringEntry key='AI_CITY_CD'        score='0' explain='false'   />
          <scoringEntry key='AI_CITY_LRN'       score='0' explain='false'  />
          <scoringEntry key='AI_PC_CITY_CD'     score='0' explain='false'   />
          <scoringEntry key='AI_STREET_SN'      score='0' explain='false'   />
          <scoringEntry key='AI_PC_CITY_STREET' score='0' explain='false'  />
          <scoringEntry key='AI_SN'             score='0' explain='false'  />
      </scoringEntries>
    </attributeScorer>
    <ambiguityScorer scoreColumn="uir_errors" explanationColumn="expl">
      <scoringEntries>
          <scoringEntry key="AI_AMBIG_CL" explainAs="AA_CL" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_CL_CD" explainAs="AA_CL_CD" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_CL_ZCD" explainAs="AA_CL_ZCD" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_CS_N" explainAs="AA_CS_N" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_SN_Q" explainAs="AA_SN_Q" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_ZCD_L" explainAs="AA_ZCD_L" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_ZCS_L" explainAs="AA_ZCS_L" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_ZCS_N" explainAs="AA_ZCS_N" score="0" explain="true"/>
          <scoringEntry key="AI_AMBIG_ZC_L" explainAs="AA_ZC_L" score="0" explain="true"/>
      </scoringEntries>
    </ambiguityScorer>
    <parserRuleName>uir_rule</parserRuleName>
    <trashed>uir_trashed</trashed>
    <outputComponents
        addressId='uir_address_id'
        districtOrig='district_parsed'
        localityOrig='locality_parsed'
        postOfficeOrig='postOffice_parsed'
        cityPartOrig='cityPart_parsed'
        localityPartOrig='localityPart_parsed'
        streetOrig='street_parsed'
        landRegistryNumberOrig='landRegistryNumber_parsed'
        streetNumberOrig='streetNumber_parsed'
        postalCodeOrig='zip_parsed'
        district='district_std'
        locality='locality_std'
        postOffice='postOffice_std'
        cityPart='cityPart_std'
        localityPart='localityPart_std'
        street='street_std'
        landRegistryNumber='landRegistryNumber_std'
        streetNumber='streetNumber_std'
        postalCode='zip_std'
        districtClean='district'
        localityClean='locality'
        postOfficeClean='postOffice'
        cityPartClean='cityPart'
        localityPartClean='localityPart'
        streetClean='street'
        landRegistryNumberClean='landRegistryNumber'
        streetNumberClean='streetNumber'
        postalCodeClean='zip'
        streetId='uir_street_id'
        localityPartId='uir_locality_part_id'
        localityId='uir_locality_id' />
     </properties>
</step>

iWay Software