User Tools

Site Tools


thinkgeo.mapsuite.mapsuitegeocoder.matchingplugin

This is an old revision of the document!


ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin

<!– Class –> 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.

Remarks

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodMatchingPlugin This is the constructor of this class.

Public Methods

Name Parameters DeclaringType Summary
Public MethodClose This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodMatch 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.
Public MethodOpen This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodStatic MemberCleanSourceText String, IEnumerable<String> Cleans all special symbols present in the source text.
Protected MethodCloseCore This method closes the MatchingPlugin.
Protected MethodFinalize Object
Protected MethodFormalize String This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.
Protected MethodFormalizeCore String This method formalizes the source text.
Protected MethodMatchCore 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.
Protected MethodMemberwiseClone Object
Protected MethodOpenCore This method opens the MatchingPlugin for use.

Public Properties

Name Return DeclaringType Summary
Public PropertyRankingMultiplier Int32 This property is the ranking multipier for GeocoderMatch.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

MatchingPlugin()

This is the constructor of this class.

Remarks

Parameters

Name Type Description

Go Back

Public Methods

Close()

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Value

Return Type Description
Collection<GeocoderMatch><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch} –> A collection of GeocoderMatch.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to match.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Open()

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CleanSourceText(String, IEnumerable<String>)

<!– static –> Cleans all special symbols present in the source text.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
String<!– System.String –> The clean text with the specified strings removed.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text need to formalize.
stringsToRemove IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> The strings that need to be cleaned.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

CloseCore()

This method closes the MatchingPlugin.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Finalize()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Formalize(String)

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

Remarks

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> The collection of formalized strings.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to formalize.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

FormalizeCore(String)

This method formalizes the source text.

Remarks

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> The collection of formalized strings.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to formalize.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

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

Return Value

Return Type Description
Collection<GeocoderMatch><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch} –> A collection of GeocoderMatch.

Parameters

Name Type Description
sourceText String<!– System.String –> The source text to match.

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OpenCore()

This method opens the MatchingPlugin for use.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Public Properties

RankingMultiplier

This property is the ranking multipier for GeocoderMatch.

Remarks

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mapsuitegeocoder.matchingplugin.1440040131.txt.gz · Last modified: 2015/09/21 07:03 (external edit)