|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uottawa.balie.UnbreakableLookup
public class UnbreakableLookup
Wraps around a hashtable that contains a list of Unbreakable tokens. An unbreakable is token is a sequence of chars that would be otherwise splitted by the base algorithm but that has a meaning on its own. e.g.: C# is a token that should not be breaked in its constituant ('C' and '#')
Constructor Summary | |
---|---|
UnbreakableLookup()
Initializes the hashtable with the unbreakable words. |
Method Summary | |
---|---|
boolean |
IsUnbreakable(java.lang.String pi_Word)
Checks if a word is an Unbreakable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnbreakableLookup()
Method Detail |
---|
public boolean IsUnbreakable(java.lang.String pi_Word)
pi_Word
- The word to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |