de.tudarmstadt.ukp.jwktl.api.entry
Class WiktionaryWordForm

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.api.entry.WiktionaryWordForm
All Implemented Interfaces:
IWiktionaryWordForm

@Persistent
public class WiktionaryWordForm
extends Object
implements IWiktionaryWordForm

Implementation of the IWiktionaryWordForm interface. Instances of this class represent inflected word forms.

Author:
Christian M. Meyer

Field Summary
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 Summary
WiktionaryWordForm()
          Instanciates a new, empty word form.
WiktionaryWordForm(String wordForm)
          Instanciates a new word form with the given written form.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wordForm

protected String wordForm

grammaticalNumber

protected GrammaticalNumber grammaticalNumber

grammaticalCase

protected GrammaticalCase grammaticalCase

grammaticalPerson

protected GrammaticalPerson grammaticalPerson

grammaticalTense

protected GrammaticalTense grammaticalTense

grammaticalMood

protected GrammaticalMood grammaticalMood

grammaticalDegree

protected GrammaticalDegree grammaticalDegree

grammaticalAspect

protected GrammaticalAspect grammaticalAspect

nonFiniteForm

protected NonFiniteForm nonFiniteForm
Constructor Detail

WiktionaryWordForm

public WiktionaryWordForm()
Instanciates a new, empty word form.


WiktionaryWordForm

public WiktionaryWordForm(String wordForm)
Instanciates a new word form with the given written form.

Method Detail

getWordForm

public String getWordForm()
Description copied from interface: IWiktionaryWordForm
Returns the word form or 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.

Specified by:
getWordForm in interface IWiktionaryWordForm

setWordForm

public void setWordForm(String wordForm)
Assign the given written form to this instance.


getNumber

public GrammaticalNumber getNumber()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalNumber of this word form or null if no number is specified or applicable.

Specified by:
getNumber in interface IWiktionaryWordForm

setNumber

public void setNumber(GrammaticalNumber grammaticalNumber)
Assign the given grammatical number to this word form.


getCase

public GrammaticalCase getCase()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalCase of this word form or null if no case is specified or applicable.

Specified by:
getCase in interface IWiktionaryWordForm

setCase

public void setCase(GrammaticalCase grammaticalCase)
Assign the given grammatical case to this word form.


getPerson

public GrammaticalPerson getPerson()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalPerson of this word form or null if no person is specified or applicable.

Specified by:
getPerson in interface IWiktionaryWordForm

setPerson

public void setPerson(GrammaticalPerson grammaticalPerson)
Assign the given grammatical person to this word form.


getTense

public GrammaticalTense getTense()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalTense of this word form or null if no tense is specified or applicable.

Specified by:
getTense in interface IWiktionaryWordForm

setTense

public void setTense(GrammaticalTense grammaticalTense)
Assign the given grammatical tense to this word form.


getMood

public GrammaticalMood getMood()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalMood of this word form or null if no mood is specified or applicable.

Specified by:
getMood in interface IWiktionaryWordForm

setMood

public void setMood(GrammaticalMood grammaticalMood)
Assign the given grammatical mood to this word form.


getDegree

public GrammaticalDegree getDegree()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalDegree of this word form or null if no degree is specified or applicable.

Specified by:
getDegree in interface IWiktionaryWordForm

setDegree

public void setDegree(GrammaticalDegree grammaticalDegree)
Assign the given grammatical degree to this word form.


getAspect

public GrammaticalAspect getAspect()
Description copied from interface: IWiktionaryWordForm
Returns the GrammaticalAspect of this word form or null if no aspect is specified or applicable.

Specified by:
getAspect in interface IWiktionaryWordForm

setAspect

public void setAspect(GrammaticalAspect grammaticalAspect)
Assign the given grammatical aspect to this word form.


getNonFiniteForm

public NonFiniteForm getNonFiniteForm()
Description copied from interface: IWiktionaryWordForm
Returns the NonFiniteForm type of this word form or null if no type is specified or applicable.

Specified by:
getNonFiniteForm in interface IWiktionaryWordForm

setNonFiniteForm

public void setNonFiniteForm(NonFiniteForm nonFiniteForm)
Assign the given type of non finite word form.



Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.