public class PosStructureElement extends StructureElement
pos
additionalInformation
Constructor and Description |
---|
PosStructureElement() |
PosStructureElement(String pos) |
Modifier and Type | Method and Description |
---|---|
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 |
setPos(String pos) |
addAdditionalInformation, containsAdditionalInfo, getAdditionalInformation, getTextFromDataWithAdditionalInfo, removeAdditionalInformation
public PosStructureElement()
public PosStructureElement(String pos)
pos
- The Part-of-Speechpublic 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 setPos(String pos)
pos
- The Part-of-SpeechCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.