|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gpl.pierrick.brihaye.aramorph.Solution
A solution for a word.
Field Summary | |
protected int |
cnt
|
protected boolean |
debug
Whether or not the dictionnaries inconsistencies should be output |
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry |
prefix
|
protected java.util.LinkedList |
prefixesGlosses
|
protected java.util.LinkedList |
prefixesPOS
|
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry |
stem
|
protected java.util.LinkedList |
stemsGlosses
|
protected java.util.LinkedList |
stemsPOS
|
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry |
suffix
|
protected java.util.LinkedList |
suffixesGlosses
|
protected java.util.LinkedList |
suffixesPOS
|
Constructor Summary | |
protected |
Solution(boolean debug,
int cnt,
gpl.pierrick.brihaye.aramorph.DictionaryEntry prefix,
gpl.pierrick.brihaye.aramorph.DictionaryEntry stem,
gpl.pierrick.brihaye.aramorph.DictionaryEntry suffix)
Constructs a solution for a word. |
protected |
Solution(int cnt,
gpl.pierrick.brihaye.aramorph.DictionaryEntry prefix,
gpl.pierrick.brihaye.aramorph.DictionaryEntry stem,
gpl.pierrick.brihaye.aramorph.DictionaryEntry suffix)
Constructs a solution for a word. |
Method Summary | |
int |
getCnt()
Returns the order in solutions' sequence. |
java.lang.String |
getLemma()
Returns the lemma id in the stems dictionary. |
gpl.pierrick.brihaye.aramorph.DictionaryEntry |
getPrefix()
Returns the dictionary entry for the word's prefix as provided by the prefixes dictionnary, i.e. |
java.lang.String[] |
getPrefixesArabicLongPOS()
Returns The vocalizations in arabic of the recomputed prefixes and their grammatical categories or null if there is no stem for the word. |
java.lang.String[] |
getPrefixesArabicVocalizations()
Returns the vocalizations of the recomputed prefixes in arabic or null if there are no prefixes for the word. |
java.lang.String[] |
getPrefixesGlosses()
Returns the english glosses of the prefixes. |
java.lang.String[] |
getPrefixesLongPOS()
Returns The vocalizations using the Buckwalter transliteration system of the recomputed prefixes and their grammatical categories or null if there are no prefixes for the word. |
java.lang.String[] |
getPrefixesPOS()
Returns the grammatical categories of the recomputed prefixes or null if there are no prefixes for the word. |
java.lang.String[] |
getPrefixesVocalizations()
Returns the vocalizations of the recomputed prefixes in the Buckwalter transliteration system or null if there are no prefixes for the word. |
java.lang.String |
getPrefixMorphology()
Returns the morphology of the prefix. |
gpl.pierrick.brihaye.aramorph.DictionaryEntry |
getStem()
Returns the dictionary entry for the word's stem as provided by the stems dictionnary, i.e. |
java.lang.String |
getStemArabicLongPOS()
Returns The vocalization in arabic of the recomputed stem and its grammatical category or null if there is no stem for the word. |
java.lang.String |
getStemArabicVocalization()
Returns the vocalization of the recomputed stem in arabic or null if there is no stem for the word. |
java.lang.String |
getStemGloss()
Returns the english gloss of the stem. |
java.lang.String |
getStemLongPOS()
Returns The vocalization using the Buckwalter transliteration system of the recomputed stem and its grammatical category or null if there is no stem for the word. |
java.lang.String |
getStemMorphology()
Returns the morphology of the stem. |
java.lang.String |
getStemPOS()
Returns the grammatical category of the recomputed stem. |
java.lang.String |
getStemVocalization()
Returns the vocalization of the recomputed stem in the Buckwalter transliteration system or null if there is no stem for the word. |
gpl.pierrick.brihaye.aramorph.DictionaryEntry |
getSuffix()
Returns the dictionary entry for the word's suffix as provided by the suffixes dictionnary, i.e. |
java.lang.String[] |
getSuffixesArabicLongPOS()
Returns The vocalization in arabic of the recomputed suffixes and their grammatical categories or null if there is are no suffixes for the word. |
java.lang.String[] |
getSuffixesArabicVocalizations()
Returns the vocalizations of the recomputed suffixes in arabic or null if there ares no suffixes for the word. |
java.lang.String[] |
getSuffixesGlosses()
Returns the english glosses of the suffixes. |
java.lang.String[] |
getSuffixesLongPOS()
Returns The vocalizations using the Buckwalter transliteration system of the recomputed suffixes and their grammatical categories or null if there is are no suffixes for the word. |
java.lang.String[] |
getSuffixesPOS()
Returns The grammatical categories of the recomputed suffixes or null if there are no suffixes for the word.. |
java.lang.String[] |
getSuffixesVocalizations()
Returns the vocalizations of the recomputed suffixes in the Buckwalter transliteration system or null if there ares no suffixes for the word. |
java.lang.String |
getSuffixMorphology()
Returns the morphology of the suffix. |
java.lang.String |
getWordArabicLongPOS()
Returns The vocalization of the word in atabic and its grammatical categories. |
java.lang.String |
getWordArabicVocalization()
Returns the vocalization of the word in arabic. |
java.lang.String |
getWordGlosses()
Returns the english glosses of the word. |
java.lang.String |
getWordLongPOS()
Returns The vocalization of the word in the Buckwalter transliteration system and its grammatical categories. |
java.lang.String |
getWordMorphology()
Returns the morphology of the word. |
java.lang.String |
getWordVocalization()
Returns the vocalization of the word in the Buckwalter transliteration system. |
java.lang.String |
toArabizedString()
Returns a string representation of how the word can be analyzed using arabic for the vocalizations.. |
java.lang.String |
toString()
Returns a string representation of how the word can be analyzed using the Buckwalter transliteration system for the vocalizations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean debug
protected int cnt
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry prefix
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry stem
protected gpl.pierrick.brihaye.aramorph.DictionaryEntry suffix
protected java.util.LinkedList prefixesPOS
protected java.util.LinkedList stemsPOS
protected java.util.LinkedList suffixesPOS
protected java.util.LinkedList prefixesGlosses
protected java.util.LinkedList stemsGlosses
protected java.util.LinkedList suffixesGlosses
Constructor Detail |
protected Solution(int cnt, gpl.pierrick.brihaye.aramorph.DictionaryEntry prefix, gpl.pierrick.brihaye.aramorph.DictionaryEntry stem, gpl.pierrick.brihaye.aramorph.DictionaryEntry suffix)
cnt
- Order in sequence ; not very useful actuallyprefix
- The prefix as provided by the prefixes dictionnarystem
- The stem as provided by the stems dictionnarysuffix
- The suffix as provided by the suffixes dictionnaryprotected Solution(boolean debug, int cnt, gpl.pierrick.brihaye.aramorph.DictionaryEntry prefix, gpl.pierrick.brihaye.aramorph.DictionaryEntry stem, gpl.pierrick.brihaye.aramorph.DictionaryEntry suffix)
debug
- Whether or not the dictionnaries inconsistencies should be outputcnt
- Order in sequence ; not very useful actuallyprefix
- The prefix as provided by the prefixes dictionnarystem
- The stem as provided by the stems dictionnarysuffix
- The suffix as provided by the suffixes dictionnaryMethod Detail |
public gpl.pierrick.brihaye.aramorph.DictionaryEntry getPrefix()
public gpl.pierrick.brihaye.aramorph.DictionaryEntry getStem()
public gpl.pierrick.brihaye.aramorph.DictionaryEntry getSuffix()
public int getCnt()
public java.lang.String getLemma()
public java.lang.String[] getPrefixesVocalizations()
null
if there are no prefixes for the word.
public java.lang.String[] getPrefixesArabicVocalizations()
null
if there are no prefixes for the word.
public java.lang.String getStemVocalization()
null
if there is no stem for the word.
public java.lang.String getStemArabicVocalization()
null
if there is no stem for the word.
public java.lang.String[] getSuffixesVocalizations()
null
if there ares no suffixes for the word.
public java.lang.String[] getSuffixesArabicVocalizations()
null
if there ares no suffixes for the word.
public java.lang.String getWordVocalization()
public java.lang.String getWordArabicVocalization()
public java.lang.String getPrefixMorphology()
public java.lang.String getStemMorphology()
public java.lang.String getSuffixMorphology()
public java.lang.String getWordMorphology()
public java.lang.String[] getPrefixesPOS()
null
if there are no prefixes for the word.
public java.lang.String[] getPrefixesLongPOS()
null
if there are no prefixes for the word.
public java.lang.String[] getPrefixesArabicLongPOS()
null
if there is no stem for the word.
public java.lang.String getStemPOS()
public java.lang.String getStemLongPOS()
null
if there is no stem for the word.
public java.lang.String getStemArabicLongPOS()
null
if there is no stem for the word.
public java.lang.String[] getSuffixesPOS()
null
if there are no suffixes for the word..
public java.lang.String[] getSuffixesLongPOS()
null
if there is are no suffixes for the word.
public java.lang.String[] getSuffixesArabicLongPOS()
null
if there is are no suffixes for the word.
public java.lang.String getWordLongPOS()
public java.lang.String getWordArabicLongPOS()
public java.lang.String[] getPrefixesGlosses()
public java.lang.String getStemGloss()
public java.lang.String[] getSuffixesGlosses()
public java.lang.String getWordGlosses()
public java.lang.String toString()
public java.lang.String toArabizedString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |