|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uottawa.balie.LexiconOnDisk
public class LexiconOnDisk
Lexicon loader for baseline NER
| Nested Class Summary | |
|---|---|
static class |
LexiconOnDisk.Lexicon
Choice of lexicons |
| Constructor Summary | |
|---|---|
LexiconOnDisk(LexiconOnDisk.Lexicon pi_LexisonSet)
Read lexicons that reside in text files. |
|
| Method Summary | |
|---|---|
NamedEntityType |
GetEntityType(java.lang.String pi_Word,
boolean pi_bFuzzy)
Get the entity type for this word. |
NamedEntityType |
GetEntityTypeForAllFuzzyVariants(java.lang.String pi_Word)
Get the entity type for this word and all its fuzzy variants. |
boolean |
IsEntity(java.lang.String pi_Word,
boolean pi_bFuzzy)
Check if a given word is listed in a lexicon |
NamedEntityTypeEnumI[] |
Types()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LexiconOnDisk(LexiconOnDisk.Lexicon pi_LexisonSet)
pi_LexisonSet - | Method Detail |
|---|
public boolean IsEntity(java.lang.String pi_Word,
boolean pi_bFuzzy)
IsEntity in interface LexiconOnDiskIpi_Word - a word (can be a phase)
public NamedEntityType GetEntityType(java.lang.String pi_Word,
boolean pi_bFuzzy)
TokenConsts for type list)
GetEntityType in interface LexiconOnDiskIpi_Word -
TokenConstspublic NamedEntityType GetEntityTypeForAllFuzzyVariants(java.lang.String pi_Word)
pi_Word -
public NamedEntityTypeEnumI[] Types()
Types in interface LexiconOnDiskI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||