@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()
IWiktionaryWordForm
null
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 IWiktionaryWordForm
public void setWordForm(String wordForm)
public GrammaticalNumber getNumber()
IWiktionaryWordForm
GrammaticalNumber
of this word form or
null
if no number is specified or applicable.getNumber
in interface IWiktionaryWordForm
public void setNumber(GrammaticalNumber grammaticalNumber)
public GrammaticalCase getCase()
IWiktionaryWordForm
GrammaticalCase
of this word form or
null
if no case is specified or applicable.getCase
in interface IWiktionaryWordForm
public void setCase(GrammaticalCase grammaticalCase)
public GrammaticalPerson getPerson()
IWiktionaryWordForm
GrammaticalPerson
of this word form or
null
if no person is specified or applicable.getPerson
in interface IWiktionaryWordForm
public void setPerson(GrammaticalPerson grammaticalPerson)
public GrammaticalTense getTense()
IWiktionaryWordForm
GrammaticalTense
of this word form or
null
if no tense is specified or applicable.getTense
in interface IWiktionaryWordForm
public void setTense(GrammaticalTense grammaticalTense)
public GrammaticalMood getMood()
IWiktionaryWordForm
GrammaticalMood
of this word form or
null
if no mood is specified or applicable.getMood
in interface IWiktionaryWordForm
public void setMood(GrammaticalMood grammaticalMood)
public GrammaticalDegree getDegree()
IWiktionaryWordForm
GrammaticalDegree
of this word form or
null
if no degree is specified or applicable.getDegree
in interface IWiktionaryWordForm
public void setDegree(GrammaticalDegree grammaticalDegree)
public GrammaticalAspect getAspect()
IWiktionaryWordForm
GrammaticalAspect
of this word form or
null
if no aspect is specified or applicable.getAspect
in interface IWiktionaryWordForm
public void setAspect(GrammaticalAspect grammaticalAspect)
public NonFiniteForm getNonFiniteForm()
IWiktionaryWordForm
NonFiniteForm
type of this word form or
null
if no type is specified or applicable.getNonFiniteForm
in interface IWiktionaryWordForm
public void setNonFiniteForm(NonFiniteForm nonFiniteForm)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.