kss.base.ChunkWithIndex Maven / Gradle / Ivy
The newest version!
package kss.base;
/*
* Korean Sentence Splitter
* Split Korean text into sentences using heuristic algorithm.
*
* Copyright (C) 2021 Sang-ji Lee
* Copyright (C) 2021 Hyun-woong Ko and Sang-Kil Park
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
public class ChunkWithIndex {
private int start;
private String text;
public ChunkWithIndex(int start, String text) {
this.start = start;
this.text = text;
}
public int getStart() {
return start;
}
public void setStart(int start) {
this.start = start;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
}