Show / Hide Table of Contents

Class Metaphone

Generator function for Soundex strings, according to SuperOffice usage. This is based on Double Metaphone (c) 1998, 1999 by Lawrence Philips, further modified by SuperOffice.

The Soundex string generated here is used for duplicate searching - an exact match of Soundex implies a suspect duplicate of the originals.

Inheritance
Object
Metaphone
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Globalization
Assembly: SoCore.dll
Syntax
public sealed class Metaphone

Methods

GetMetaphone(String)

Generate the SoSoundex string for the given argument, with the default length

Declaration
public static string GetMetaphone(string inputString)
Parameters
Type Name Description
String inputString

Input string, typically a company name, project name or something like that

Returns
Type Description
String

Resulting variant, with 9 significant characters (the default used in the database)

GetMetaphone(String, Int32)

Generate the SoSoundex string for the given argument, with an explicit length

Declaration
public static string GetMetaphone(string inputString, int length)
Parameters
Type Name Description
String inputString

Input string, typically a company name, project name or something like that

Int32 length

Desired length of compressed metaphone string (the result)

Returns
Type Description
String

Resulting metaphone string

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top