Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    AbstractCaverphone
    Caverphone2
    Implements
    IStringEncoder
    Inherited Members
    AbstractCaverphone.IsEncodeEqual(String, String)
    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 Source

    Encode(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.

    Overrides
    AbstractCaverphone.Encode(String)

    Implements

    IStringEncoder
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.