com.zoho.hawking.language.english.model.RecognizerOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hawking Show documentation
Show all versions of hawking Show documentation
Hawking is a natural language date time parser that extracts date and time from text with context and parse to the required format.
The newest version!
//$Id$
package com.zoho.hawking.language.english.model;
public class RecognizerOutput {
private String recognizerLabel;
private Integer recognizerStartIndex;
private Integer recognizerEndIndex;
private String text;
public RecognizerOutput() {
}
public RecognizerOutput(String recognizerLabel, Integer recognizerStartIndex, Integer recognizerEndIndex, String text) {
this.recognizerLabel = recognizerLabel;
this.recognizerStartIndex = recognizerStartIndex;
this.recognizerEndIndex = recognizerEndIndex;
this.text = text;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getRecognizerLabel() {
return recognizerLabel;
}
public void setRecognizerLabel(String recognizerLabel) {
this.recognizerLabel = recognizerLabel;
}
public Integer getRecognizerStartIndex() {
return recognizerStartIndex;
}
public void setRecognizerStartIndex(Integer recognizerStartIndex) {
this.recognizerStartIndex = recognizerStartIndex;
}
public Integer getRecognizerEndIndex() {
return recognizerEndIndex;
}
public void setRecognizerEndIndex(Integer recognizerEndIndex) {
this.recognizerEndIndex = recognizerEndIndex;
}
}