All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simmetrics.simplifiers.Caverphone2 Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
package org.simmetrics.simplifiers;

/**
 * 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.
 * 
 * 

* This class is immutable and thread-safe. *

* * @see Wikipedia - * Caverphone * @see Caverphone * 2.0 specification * @see org.apache.commons.codec.language.Caverphone2 * */ public class Caverphone2 implements Simplifier { private final org.apache.commons.codec.language.Caverphone2 simplifier = new org.apache.commons.codec.language.Caverphone2(); @Override public String simplify(String input) { return simplifier.encode(input); } @Override public String toString() { return "Caverphone2"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy