|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object KoelnDic
This class contains all the nexessary information from the dictionary. The dictionarys are initialized in a {static} routine. They are loaded from specific files and saved in HashMaps. Some tags are translated within this class - when analysation is not possible or unnecessary (punctuation, numbers, etc). The translation process is started by the startlookup method.
Field Summary | |
private static java.util.HashMap |
ADJECTIVE
|
private static java.util.HashMap |
ADVERB
|
private static java.util.HashMap |
APPO
|
private static java.util.HashMap |
APPR
|
private static java.util.HashMap |
APPRART
|
private static java.util.HashMap |
APZR
|
private static java.util.HashMap |
KOKOM
|
private static java.util.HashMap |
KON
|
private static java.util.HashMap |
KOUI_KOUS
|
private static java.util.HashMap |
NOMEN
|
private static java.util.HashMap |
PAV
|
private static java.util.HashMap |
PDS
|
private static java.util.HashMap |
PTKA_PTKANT_PTNEG
|
private static java.util.HashMap |
PTKVZ
|
private static java.util.HashMap |
PWAV
|
static java.lang.String[] |
Substantiv2
|
private static java.util.HashMap |
VAFIN
|
private static java.util.HashMap |
VERB
|
Constructor Summary | |
(package private) |
KoelnDic()
|
Method Summary | |
static java.lang.String |
checkAdjective(java.lang.String hg_adjective)
checks a Highgerman adjective in the HashMap ADJECTIVE |
static boolean |
checkPDS(Word word)
|
static boolean |
checkSubstantiv2(java.lang.String hg_substantiv)
This method checks wheter a Highgerman lemma belongs to the group of "Substantiv2" or not. |
private static boolean |
lookupADV(Word word)
lookupADV checks an ADV-tagged word in the HashMap ADVERB |
private static boolean |
lookupAPPO(Word word)
lookupAPPO checks an APPO-tagged word in the HashMap APPO |
private static boolean |
lookupAPPR(Word word)
lookupAPPR checks an APPR-tagged word in the HashMap APPR |
private static boolean |
lookupAPPRART(Word word)
lookupAPPRART checks an APPRART-tagged word in the HashMap APPRART |
private static boolean |
lookupAPZR(Word word)
lookupAPZR checks an APZR-tagged word in the HashMap APZR |
private static boolean |
lookupKOKOM(Word word)
lookupKOKOM checks a KOKOM-tagged word in the HashMap KOKOM |
private static boolean |
lookupKON(Word word)
lookupKON checks a KON-tagged word in the HashMap KON |
private static boolean |
lookupKOUI_KOUS(Word word)
lookupKOUI_KOUS checks a KOUI or KOUS -tagged word in the HashMap KOUI_KOUS |
private static boolean |
lookupNN_NE(Word word)
lookupNomen checks a highgerman nomen in the HashMap NOMEN |
private static boolean |
lookupPAV(Word word)
lookupPAV checks a PAV-tagged word in the HashMap PAV |
private static boolean |
lookupPDS(Word word)
lookupPDS checks a PDS-tagged word in the HashMap PDS |
private static boolean |
lookupPTKA_PTKANT_PTNEG(Word word)
lookupPTKA_PTKANT_PTNEG checks a PTKA_PTKANT_PTNEG -tagged word in the HashMap PTKA_PTKANT_PTNEG |
private static boolean |
lookupPTKVZ(Word word)
lookupPTKVZ checks a PTKVZ-tagged word in the HashMap PTKVZ |
private static boolean |
lookupPWAT(Word word)
lookupPWAT checks a PWAT-tagged word in the HashMap PWAT |
private static boolean |
lookupPWAV(Word word)
lookupPWAV checks a PWAV-tagged word in the HashMap PWAV |
private static boolean |
lookupVAFIN(Word word)
lookupVAFIN checks an auxiliar-verb in the HashMap VAFIN. |
private static boolean |
lookupVVFIN(Word word)
|
private static boolean |
lookupVVIMP_VAIMP(Word word)
lookupVVIMP_VAIMP checks a highgerman verb-imperativ in the HashMap VERB if a corresponding verb is found, the verb.imperativ is set as the cologne translation. |
private static boolean |
lookupVVINF_VAINF_VMINF(Word word)
lookupVVINF_VAINF_VMINF checks a highgerman verb-infinitiv in the HashMap VERB if a corresponding verb is found, the verb.infinitiv is set as the cologne translation. |
private static boolean |
lookupVVPP_VAPP_VMPP(Word word)
lookupVVPP_VAPP_VMPP checks a highgerman verb-partizip in the HashMap VERB if a corresponding verb is found, the verb.partizip is set as the cologne translation. |
private static boolean |
lookupWord(Word word)
|
static void |
startlookup(java.util.ListIterator li)
startlookup is the initial call for the KoelnDic class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.util.HashMap ADJECTIVE
private static final java.util.HashMap ADVERB
private static final java.util.HashMap APPO
private static final java.util.HashMap APPR
private static final java.util.HashMap APPRART
private static final java.util.HashMap APZR
private static final java.util.HashMap KOKOM
private static final java.util.HashMap KON
private static final java.util.HashMap KOUI_KOUS
private static final java.util.HashMap NOMEN
private static final java.util.HashMap PAV
private static final java.util.HashMap PDS
private static final java.util.HashMap PTKA_PTKANT_PTNEG
private static final java.util.HashMap PTKVZ
private static final java.util.HashMap PWAV
public static java.lang.String[] Substantiv2
private static final java.util.HashMap VAFIN
private static final java.util.HashMap VERB
Constructor Detail |
KoelnDic()
Method Detail |
public static final java.lang.String checkAdjective(java.lang.String hg_adjective)
hg_adjective
-
public static final boolean checkPDS(Word word)
public static final boolean checkSubstantiv2(java.lang.String hg_substantiv)
hg_substantiv
-
private static final boolean lookupADV(Word word)
word
- (Highgerman Input)
private static final boolean lookupAPPO(Word word)
word
- (Highgerman Input)
private static final boolean lookupAPPR(Word word)
word
- (Highgerman Input)
private static final boolean lookupAPPRART(Word word)
word
- (Highgerman Input)
private static final boolean lookupAPZR(Word word)
word
- (Highgerman Input)
private static final boolean lookupKOKOM(Word word)
word
- (Highgerman Input)
private static final boolean lookupKON(Word word)
word
- (Highgerman Input)
private static final boolean lookupKOUI_KOUS(Word word)
word
- (Highgerman Input)
private static final boolean lookupNN_NE(Word word)
word
-
private static final boolean lookupPAV(Word word)
word
- (Highgerman Input)
private static final boolean lookupPDS(Word word)
word
- (Highgerman Input)
private static final boolean lookupPTKA_PTKANT_PTNEG(Word word)
word
- (Highgerman Input)
private static final boolean lookupPTKVZ(Word word)
word
- (Highgerman Input)
private static final boolean lookupPWAT(Word word)
word
- (Highgerman Input)
private static final boolean lookupPWAV(Word word)
word
- (Highgerman Input)
private static final boolean lookupVAFIN(Word word)
word
-
private static final boolean lookupVVFIN(Word word)
private static final boolean lookupVVIMP_VAIMP(Word word)
word
- (Highgerman Input)
private static final boolean lookupVVINF_VAINF_VMINF(Word word)
word
-
private static final boolean lookupVVPP_VAPP_VMPP(Word word)
word
-
private static final boolean lookupWord(Word word)
public static final void startlookup(java.util.ListIterator li)
li
- (list of words)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |