Package it.uniroma1.lcl.babelnet.data
Class BabelLemma
- java.lang.Object
-
- it.uniroma1.lcl.babelnet.data.BabelLemma
-
- All Implemented Interfaces:
Lemma
public class BabelLemma extends Object implements Lemma
A class representing the lemma inBabelSynset
.- Author:
- navigli
-
-
Constructor Summary
Constructors Constructor Description BabelLemma(String lemma, BabelLemmaType type)
Crates a lemma object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLemma()
Returns the lemmaBabelLemmaType
getType()
Returns the lemma typeString
toString()
-
-
-
Constructor Detail
-
BabelLemma
public BabelLemma(String lemma, BabelLemmaType type)
Crates a lemma object- Parameters:
lemma
- the lemmatype
- the type of lemma
-
-
Method Detail
-
getLemma
public String getLemma()
Returns the lemma- Returns:
- the lemma
-
getType
public BabelLemmaType getType()
Returns the lemma type- Returns:
- the lemma type
-
-