User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.matchingplugin

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin

This class is the abstract class encapsulating matching operations. The MatchingPlugIn class is the key class in the Geocoder. It formalizes the source text using GeocoderFormalizer, tries to match in some kinds of datasets and returns a MatchResult object. MatchingPlugIn can work independently or can be combined to work together with others to accomplish complicated matching requirements.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

MatchingPlugin()

This is the constructor of this class.

Remarks

N/A

Parameters

Public Methods

Match(String)

This method matches the source text and returns a collection of GeocoderMatch. This method is the concrete wrapper for MatchCore. It firstly formalizes the input sourceText, gets the formalized results and matches them using MatchCore one by one, then returns all of the results within a collection.

Remarks

N/A

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

Open()

This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.

Remarks

N/A

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

Close()

This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.

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 is an abstract method used to match source text. It will match the source text and return the result within a collection of GeocoderMatch.

Remarks

N/A

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

Formalize(String)

This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.

Remarks

N/A

Return Value
  • Type:Collection<String>
  • Description:The collection of formalized strings.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to formalize.

FormalizeCore(String)

This method formalizes the source text.

Remarks

N/A

Return Value
  • Type:Collection<String>
  • Description:The collection of formalized strings.
Parameters
  • sourceText
    • Type:String
    • Description:The source text to formalize.

OpenCore()

This method opens the MatchingPlugin for use.

Remarks

N/A

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

CloseCore()

This method closes the MatchingPlugin.

Remarks

N/A

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

oxM=(GeocoderMatch)

N/A

Remarks

N/A

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

Finalize()

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

CleanSourceText(String,IEnumerable<String>)

Cleans all special symbols present in the source text.

Remarks

N/A

Return Value
  • Type:String
  • Description:The clean text with the specified strings removed.
Parameters
  • sourceText
    • Type:String
    • Description:The source text need to formalize.
  • stringsToRemove
    • Type:IEnumerable<String>
    • Description:The strings that need to be cleaned.

pBM=(GeocoderMatch)

N/A

Remarks

N/A

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

Public Properties

RankingMultiplier

This property is the ranking multipier for GeocoderMatch.

Remarks

N/A

Return Value
  • Type:Int32

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.matchingplugin.1442819029.txt.gz · Last modified: 2015/09/21 07:03 by admin