All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zoho.hawking.language.english.model.RecognizerOutput Maven / Gradle / Ivy

Go to download

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy