@Persistent public class WiktionaryWordForm extends Object implements IWiktionaryWordForm
IWiktionaryWordForm interface. Instances
of this class represent inflected word forms.| Modifier and Type | Field and Description |
|---|---|
protected GrammaticalAspect |
grammaticalAspect |
protected GrammaticalCase |
grammaticalCase |
protected GrammaticalDegree |
grammaticalDegree |
protected GrammaticalMood |
grammaticalMood |
protected GrammaticalNumber |
grammaticalNumber |
protected GrammaticalPerson |
grammaticalPerson |
protected GrammaticalTense |
grammaticalTense |
protected NonFiniteForm |
nonFiniteForm |
protected String |
wordForm |
| Constructor and Description |
|---|
WiktionaryWordForm()
Instanciates a new, empty word form.
|
WiktionaryWordForm(String wordForm)
Instanciates a new word form with the given written form.
|
| Modifier and Type | Method and Description |
|---|---|
GrammaticalAspect |
getAspect()
Returns the
GrammaticalAspect of this word form or
null if no aspect is specified or applicable. |
GrammaticalCase |
getCase()
Returns the
GrammaticalCase of this word form or
null if no case is specified or applicable. |
GrammaticalDegree |
getDegree()
Returns the
GrammaticalDegree of this word form or
null if no degree is specified or applicable. |
GrammaticalMood |
getMood()
Returns the
GrammaticalMood of this word form or
null if no mood is specified or applicable. |
NonFiniteForm |
getNonFiniteForm()
Returns the
NonFiniteForm type of this word form or
null if no type is specified or applicable. |
GrammaticalNumber |
getNumber()
Returns the
GrammaticalNumber of this word form or
null if no number is specified or applicable. |
GrammaticalPerson |
getPerson()
Returns the
GrammaticalPerson of this word form or
null if no person is specified or applicable. |
GrammaticalTense |
getTense()
Returns the
GrammaticalTense of this word form or
null if no tense is specified or applicable. |
String |
getWordForm()
Returns the word form or
null if no such word form
exists (but specified). |
void |
setAspect(GrammaticalAspect grammaticalAspect)
Assign the given grammatical aspect to this word form.
|
void |
setCase(GrammaticalCase grammaticalCase)
Assign the given grammatical case to this word form.
|
void |
setDegree(GrammaticalDegree grammaticalDegree)
Assign the given grammatical degree to this word form.
|
void |
setMood(GrammaticalMood grammaticalMood)
Assign the given grammatical mood to this word form.
|
void |
setNonFiniteForm(NonFiniteForm nonFiniteForm)
Assign the given type of non finite word form.
|
void |
setNumber(GrammaticalNumber grammaticalNumber)
Assign the given grammatical number to this word form.
|
void |
setPerson(GrammaticalPerson grammaticalPerson)
Assign the given grammatical person to this word form.
|
void |
setTense(GrammaticalTense grammaticalTense)
Assign the given grammatical tense to this word form.
|
void |
setWordForm(String wordForm)
Assign the given written form to this instance.
|
protected String wordForm
protected GrammaticalNumber grammaticalNumber
protected GrammaticalCase grammaticalCase
protected GrammaticalPerson grammaticalPerson
protected GrammaticalTense grammaticalTense
protected GrammaticalMood grammaticalMood
protected GrammaticalDegree grammaticalDegree
protected GrammaticalAspect grammaticalAspect
protected NonFiniteForm nonFiniteForm
public WiktionaryWordForm()
public WiktionaryWordForm(String wordForm)
public String getWordForm()
IWiktionaryWordFormnull if no such word form
exists (but specified). An example for the latter is the English noun
"information", which does not have a plural form.getWordForm in interface IWiktionaryWordFormpublic void setWordForm(String wordForm)
public GrammaticalNumber getNumber()
IWiktionaryWordFormGrammaticalNumber of this word form or
null if no number is specified or applicable.getNumber in interface IWiktionaryWordFormpublic void setNumber(GrammaticalNumber grammaticalNumber)
public GrammaticalCase getCase()
IWiktionaryWordFormGrammaticalCase of this word form or
null if no case is specified or applicable.getCase in interface IWiktionaryWordFormpublic void setCase(GrammaticalCase grammaticalCase)
public GrammaticalPerson getPerson()
IWiktionaryWordFormGrammaticalPerson of this word form or
null if no person is specified or applicable.getPerson in interface IWiktionaryWordFormpublic void setPerson(GrammaticalPerson grammaticalPerson)
public GrammaticalTense getTense()
IWiktionaryWordFormGrammaticalTense of this word form or
null if no tense is specified or applicable.getTense in interface IWiktionaryWordFormpublic void setTense(GrammaticalTense grammaticalTense)
public GrammaticalMood getMood()
IWiktionaryWordFormGrammaticalMood of this word form or
null if no mood is specified or applicable.getMood in interface IWiktionaryWordFormpublic void setMood(GrammaticalMood grammaticalMood)
public GrammaticalDegree getDegree()
IWiktionaryWordFormGrammaticalDegree of this word form or
null if no degree is specified or applicable.getDegree in interface IWiktionaryWordFormpublic void setDegree(GrammaticalDegree grammaticalDegree)
public GrammaticalAspect getAspect()
IWiktionaryWordFormGrammaticalAspect of this word form or
null if no aspect is specified or applicable.getAspect in interface IWiktionaryWordFormpublic void setAspect(GrammaticalAspect grammaticalAspect)
public NonFiniteForm getNonFiniteForm()
IWiktionaryWordFormNonFiniteForm type of this word form or
null if no type is specified or applicable.getNonFiniteForm in interface IWiktionaryWordFormpublic void setNonFiniteForm(NonFiniteForm nonFiniteForm)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.