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, removeAdditionalInformationpublic static final String POS_LEMMA_SEPARATOR
public String getLemma()
public String getPos()
public String getTextFromData()
StructureElementgetTextFromData in class StructureElementpublic void setDataFromText(String structureElementDescription) throws Exception
StructureElementstructureElementDescriptionsetDataFromText in class StructureElementstructureElementDescription - the textual description of the structureElement to be
initializedExceptionpublic void setLemma(String lemma)
lemma - The lemma of the represented wordpublic void setPos(String pos)
pos - The Part-of-Speech of the represented wordCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.