Class Caverphone2
Encodes a string into a Caverphone 2.0 value.
This is an algorithm created by the Caversham Project at the University of Otago. It implements the Caverphone 2.0 algorithm:
See: Caverphone 2.0 specification
This class is immutable and thread-safe.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Phonetic.Language
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public class Caverphone2 : AbstractCaverphone, IStringEncoder
Methods
| Improve this Doc View SourceEncode(String)
Encodes the given string into a Caverphone 2.0 value.
Declaration
public override string Encode(string source)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The source string. |
Returns
Type | Description |
---|---|
System.String | A caverphone code for the given string. |