User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.soundexdbfmatchingplugin

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.SoundexDbfMatchingPlugin

This class implements soundex matching operations. There are two columns in the DBF file that are necessary for soundex matching. The first is the soundex value generated by certain Soundex algorithms (by default this is implemented by SimplifiedSoundex). The second is the exact value.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin
      • ThinkGeo.MapSuite.MapSuiteGeocoder.DbfMatchingPlugin
        • ThinkGeo.MapSuite.MapSuiteGeocoder.SoundexDbfMatchingPlugin

Members Summary

Public Constructors

SoundexDbfMatchingPlugin()

This is the constructor of this class.

Remarks

N/A

Parameters

SoundexDbfMatchingPlugin(String,String)

This is the constructor of this class.

Remarks

N/A

Parameters
  • pathFileName
    • Type:String
    • Description:This parameter is path and file name of the index.
  • soundexRealValueColumnName
    • Type:String
    • Description:This parameter is the column name for the real value.

Protected Constructors

Public Methods

GetRecord(Int32)

N/A

Remarks

N/A

Return Value
  • Type:Dictionary<String,String>
  • Description:N/A
Parameters
  • recordNumber
    • Type:Int32
    • Description:N/A

GetRecords(Int32,Int32)

N/A

Remarks

N/A

Return Value
  • Type:Collection<Dictionary<String,String»
  • Description:N/A
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:N/A
  • count
    • Type:Int32
    • Description:N/A

AddRecord(IEnumerable<Object>)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • values
    • Type:IEnumerable<Object>
    • Description:N/A

Dispose()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Match(String)

N/A

Remarks

N/A

Return Value
Parameters
  • sourceText
    • Type:String
    • Description:N/A

Open()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

MatchCore(String)

This method matches source text in corresponding index files. This function tries to get all MatchItems by using binary searching in MatchDbf, but there could be many inaccurate results returned because of Soundex. Thus, it loops through each MatchItem, calculates the ditance between the result and the source according to the Levenshteins algorithm, then finds the result with the shortest distance.

Remarks

N/A

Return Value
  • Type:Collection<GeocoderMatch>
  • Description:The collection of MatchItem objects.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to match.

OpenCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

SearchUpperBound(Int32,Int32,String,String)

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:N/A
  • lastRecordNumber
    • Type:Int32
    • Description:N/A
  • sourceText
    • Type:String
    • Description:N/A
  • columnName
    • Type:String
    • Description:N/A

SearchLowerBound(Int32,Int32,String,String)

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:N/A
  • lastRecordNumber
    • Type:Int32
    • Description:N/A
  • sourceText
    • Type:String
    • Description:N/A
  • columnName
    • Type:String
    • Description:N/A

GetKeyColumnName()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

BinarySearch(Int32,Int32,String,String)

N/A

Remarks

N/A

Return Value
  • Type:Dictionary<String,String>
  • Description:N/A
Parameters
  • firstRecordNumber
    • Type:Int32
    • Description:N/A
  • lastRecordNumber
    • Type:Int32
    • Description:N/A
  • sourceText
    • Type:String
    • Description:N/A
  • columnName
    • Type:String
    • Description:N/A

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Formalize(String)

N/A

Remarks

N/A

Return Value
  • Type:Collection<String>
  • Description:N/A
Parameters
  • sourceText
    • Type:String
    • Description:N/A

FormalizeCore(String)

N/A

Remarks

N/A

Return Value
  • Type:Collection<String>
  • Description:N/A
Parameters
  • sourceText
    • Type:String
    • Description:N/A

oxM=(GeocoderMatch)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

SoundexRealValueColumnName

This property is the column name for the real value.

Remarks

N/A

Return Value
  • Type:String

PathFileName

N/A

Remarks

N/A

Return Value
  • Type:String

ReadWriteMode

N/A

Remarks

N/A

Return Value

RecordCount

N/A

Remarks

N/A

Return Value
  • Type:Int32

RankingMultiplier

N/A

Remarks

N/A

Return Value
  • Type:Int32

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.soundexdbfmatchingplugin.1442819040.txt.gz · Last modified: 2015/09/21 07:04 by admin