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: Wikipedia - Caverphone See: Caverphone 2.0 specification This class is immutable and thread-safe.Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Phonetic.Language
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public class Caverphone2 : AbstractCaverphone, IStringEncoder
  Methods
Encode(string)
Encodes the given string into a Caverphone 2.0 value.
Declaration
public override string Encode(string source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | source | The source string.  | 
      
Returns
| Type | Description | 
|---|---|
| string | A caverphone code for the given string.  |