public class LexicalStructureElement extends StructureElement
lemma
) and a Part-of-Speech (the
pos
).Modifier and Type | Field and Description |
---|---|
static String |
POS_LEMMA_SEPARATOR |
additionalInformation
Constructor and Description |
---|
LexicalStructureElement() |
LexicalStructureElement(String lemma,
String pos) |
Modifier and Type | Method and Description |
---|---|
String |
getLemma() |
String |
getPos() |
String |
getTextFromData()
Returns a textual representation of the data stored in this
structureElement
|
void |
setDataFromText(String structureElementDescription)
Initializes a StructureElement using its textual description provided in
structureElementDescription |
void |
setLemma(String lemma) |
void |
setPos(String pos) |
addAdditionalInformation, containsAdditionalInfo, getAdditionalInformation, getTextFromDataWithAdditionalInfo, removeAdditionalInformation
public static final String POS_LEMMA_SEPARATOR
public String getLemma()
public String getPos()
public String getTextFromData()
StructureElement
getTextFromData
in class StructureElement
public void setDataFromText(String structureElementDescription) throws Exception
StructureElement
structureElementDescription
setDataFromText
in class StructureElement
structureElementDescription
- the textual description of the structureElement to be
initializedException
public void setLemma(String lemma)
lemma
- The lemma of the represented wordpublic void setPos(String pos)
pos
- The Part-of-Speech of the represented wordCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.