====== ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin ====== {{section>upgrade_map_suite_to_10.0}} 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 ===== *System.Object ***ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin** *[[ThinkGeo.MapSuite.MapSuiteGeocoder.DbfMatchingPlugin]] *[[ThinkGeo.MapSuite.MapSuiteGeocoder.IPAddressMatchingPlugin]] *[[ThinkGeo.MapSuite.MapSuiteGeocoder.PostcodeDbfMatchingPlugin]] *[[ThinkGeo.MapSuite.MapSuiteGeocoder.CoordinatesMatchingPlugin]] *[[ThinkGeo.MapSuite.MapSuiteGeocoder.StreetMatchingPlugin]] ===== Members Summary ===== ==== Public Constructors ==== ==== Protected Constructors ==== ** {{wiki:ProtectedMethod.gif|}} MatchingPlugin() ** * //This is the constructor of this class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#MatchingPlugin.28.29// == Parameters ==
==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} 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 == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Match.28String.29// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]]> * Description:A collection of GeocoderMatch. == Parameters == * //sourceText// * Type:String * Description:The source text to match.
** {{wiki:PublicMethod.gif|}} Open() ** * //This method opens the MatchingPlugin for use. This method is the concrete wrapper for OpenCore.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Open.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Close() ** * //This method closes the MatchingPlugin. This method is the concrete wrapper for CloseCore.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Close.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} 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 == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#MatchCore.28String.29// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]]> * Description:A collection of GeocoderMatch. == Parameters == * //sourceText// * Type:String * Description:The source text to match.
** {{wiki:ProtectedMethod.gif|}} Formalize(String) ** * //This method formalizes the source text. This method is the concrete wrapper of FormalizeCore.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Formalize.28String.29// == Return Value == * Type:Collection * Description:The collection of formalized strings. == Parameters == * //sourceText// * Type:String * Description:The source text to formalize.
** {{wiki:ProtectedMethod.gif|}} FormalizeCore(String) ** * //This method formalizes the source text.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#FormalizeCore.28String.29// == Return Value == * Type:Collection * Description:The collection of formalized strings. == Parameters == * //sourceText// * Type:String * Description:The source text to formalize.
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** * //This method opens the MatchingPlugin for use.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#OpenCore.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** * //This method closes the MatchingPlugin.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#CloseCore.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} oxM=(GeocoderMatch) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //geocoderMatch// * Type:[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} CleanSourceText(String,IEnumerable) ** * //Cleans all special symbols present in the source text.// == Remarks == * //For the most updated Info for this topic, please check it here:// == 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 * Description:The strings that need to be cleaned.
** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} pBM=(GeocoderMatch) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //geocoderMatch// * Type:[[ThinkGeo.MapSuite.MapSuiteGeocoder.GeocoderMatch|GeocoderMatch]] * Description:N/A
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} RankingMultiplier ** This property is the ranking multipier for GeocoderMatch. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.MapSuiteGeocoder.MatchingPlugin#RankingMultiplier == Return Value == * Type:Int32 ==== Protected Properties ==== ==== Public Events ====