Commit 61187b52 authored by JR's avatar JR

Metaphone code size.

parent 7bea107a
package br.ufpr.inf.junior.utils;
import org.apache.commons.codec.language.Metaphone;
public class StringTransformationUtil {
public String useMetaphoneTransformation(final String txt) {
Metaphone m = new Metaphone();
m.setMaxCodeLen(1000);
return m.encode(txt);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment