public class SyntacticStructureElement extends StructureElement
syntacticRelation
additionalInformation
Constructor and Description |
---|
SyntacticStructureElement() |
SyntacticStructureElement(String syntacticRelation) |
Modifier and Type | Method and Description |
---|---|
String |
getSyntacticRelation() |
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 |
setSyntacticRelation(String syntacticRelation) |
addAdditionalInformation, containsAdditionalInfo, getAdditionalInformation, getTextFromDataWithAdditionalInfo, removeAdditionalInformation
public SyntacticStructureElement()
public SyntacticStructureElement(String syntacticRelation)
syntacticRelation
- The syntactic relationpublic String getSyntacticRelation()
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 setSyntacticRelation(String syntacticRelation)
syntacticRelation
- The syntactic relation to setCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.