LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Fuzzy Node

    Employee
    Posted 03-13-2014 07:48

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mw9286

    I am having problems writing the syntax for doing a exact match and fuzzy match on two fields. I would first like to do a exact match on the two fields and then a fuzzy match with a threshold of 4 to account for thing such as (e. vs east, n. vs north)


    Table 1:
    Address_cd
    state_cd

    Table 2:
    Address,
    State

    Thank you,

    Mike


  • 2.  RE: Fuzzy Node

    Employee
    Posted 03-13-2014 08:15

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Using the fuzzy match node is likely not going to work for you. At a depth of 4 characters, you are going to get significant multiple matches such as: "Main" and "Polk" streets match each other at a depth of 4 character changes.

    What you are more likely going to have to do is parse the address into pieces:
    House Number (1000)
    House Fraction (A,B, 1/2)
    PreDirection (NE)
    Street Name (Broadway)
    Street Type (St, Ave, Dr, Blvd)
    PostDirection (SW)
    Dwelling Type (Apt, Ste, Lot)
    Apartment # (312)

    Then, you have to standardize the various fields individually. (AVE instead of Avenue, ST instead of Street, etc)

    Once you have the address parsed properly, you can try to find mis-spelled street names, etc.
    Attached is a graph that I started constructing.. it's got a good way to go yet.
    Attachments:
    Address Parsing.brg