public class DateAndNumbersGeneration extends Object
| Constructor and Description |
|---|
DateAndNumbersGeneration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTimeInfo(List<TimeInfo> timeList,
TimeInfo timeObject)
* Returns true if a timeInfo object is present in the list of timeInfo.
|
List<String> |
generateSumoTerms(List<Tokens> tokensList,
StanfordDateTimeExtractor stanfordParser)
* Categorizes the input into Date, Number, Duration and Time.
|
List<String> |
getMeasureTerms(Utilities utilities)
* Returns the measure terms added in the sumo list
|
void |
setMeasureTerms(List<String> measureTerms)
* Sets the measure terms
|
public List<String> getMeasureTerms(Utilities utilities)
input: - utility valuepublic void setMeasureTerms(List<String> measureTerms)
input: - List of measure termspublic boolean containsTimeInfo(List<TimeInfo> timeList, TimeInfo timeObject)
input: - List of timeInfo and timeInfo Object to be compared.public List<String> generateSumoTerms(List<Tokens> tokensList, StanfordDateTimeExtractor stanfordParser)
input: - List of tokens, StanfordDateTimeExtractor object and a ClauseSubstitutor.Copyright © 2015. All rights reserved.