|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectkwic.WordFilter
public class WordFilter
A singleton class for filtering words into their canonical form.
| Method Summary | |
|---|---|
static WordFilter |
instance()
Singleton pattern: return one instance, always the same, of this class. |
String |
makeCanonical(String temp)
Filter the supplied String (which is the String of
a Word presumably) into a canonical form
for subsequent matching. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String makeCanonical(String temp)
String (which is the String of
a Word presumably) into a canonical form
for subsequent matching.
For this default filter, do the following:
public static WordFilter instance()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||