- Author
- Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file Soundex.java.
◆ difference()
static int org.turro.contacts.proposal.Soundex.difference |
( |
String |
s1, |
|
|
String |
s2 |
|
) |
| |
|
static |
Definition at line 37 of file Soundex.java.
40 return differenceWord(s1, s2);
◆ replacePunctuations()
static String org.turro.contacts.proposal.Soundex.replacePunctuations |
( |
String |
s | ) |
|
|
static |
Definition at line 43 of file Soundex.java.
44 return s.replaceAll(
"[àáäâ]",
"a")
45 .replaceAll(
"[èéëê]",
"e")
46 .replaceAll(
"[ìíïî]",
"i")
47 .replaceAll(
"[òóöô]",
"o")
48 .replaceAll(
"[ùúüû]",
"u");
◆ replaceSpecialLetters()
static String org.turro.contacts.proposal.Soundex.replaceSpecialLetters |
( |
String |
s | ) |
|
|
static |
Definition at line 51 of file Soundex.java.
52 return s.replaceAll(
"ñ",
"ny")
54 .replaceAll(
"[^A-Za-z0-9]",
"");
The documentation for this class was generated from the following file: