public class PropertyVerbalization extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
expandedVerbalization |
private String |
posTags |
private String |
propertyText |
private String |
propertyURI |
private simplenlg.features.Tense |
tense |
private PropertyVerbalizationType |
verbalizationType |
| Constructor and Description |
|---|
PropertyVerbalization(String propertyURI,
String propertyText,
PropertyVerbalizationType verbalizationType) |
PropertyVerbalization(String propertyURI,
String propertyText,
String posTags,
PropertyVerbalizationType verbalizationType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpandedVerbalizationText() |
String |
getPOSTags() |
String |
getProperty() |
simplenlg.features.Tense |
getTense() |
String |
getVerbalizationText() |
PropertyVerbalizationType |
getVerbalizationType() |
boolean |
isNounType() |
boolean |
isUnspecifiedType() |
boolean |
isVerbType() |
void |
setExpandedVerbalizationText(String expandedVerbalization)
Set the expanded verbalization text.
|
void |
setTense(simplenlg.features.Tense tense) |
void |
setVerbalizationType(PropertyVerbalizationType verbalizationType) |
String |
toString() |
private PropertyVerbalizationType verbalizationType
private String propertyURI
private String propertyText
private String expandedVerbalization
private String posTags
private simplenlg.features.Tense tense
public PropertyVerbalization(String propertyURI, String propertyText, PropertyVerbalizationType verbalizationType)
public PropertyVerbalization(String propertyURI, String propertyText, String posTags, PropertyVerbalizationType verbalizationType)
public String getProperty()
public String getVerbalizationText()
public String getExpandedVerbalizationText()
public PropertyVerbalizationType getVerbalizationType()
public simplenlg.features.Tense getTense()
public void setTense(simplenlg.features.Tense tense)
public void setVerbalizationType(PropertyVerbalizationType verbalizationType)
verbalizationType - the verbalizationType to setpublic String getPOSTags()
public void setExpandedVerbalizationText(String expandedVerbalization)
expandedVerbalization - the expanded verbalization textpublic boolean isNounType()
public boolean isVerbType()
public boolean isUnspecifiedType()
Copyright © 2020. All rights reserved.