This commit is contained in:
2025-09-04 14:09:32 +08:00
parent 4f96d1ccd9
commit 81a6322437

View File

@@ -0,0 +1,39 @@
package org.dromara.easyai.naturalLanguage;
import java.util.ArrayList;
import java.util.List;
/**
* @author lidapeng
* @description分词模版
* @date 4:15 下午 2020/2/23
*/
public class WordTemple {
private List<Sentence> sentences = new ArrayList<>();//所有断句
private List<WorldBody> allWorld = new ArrayList<>();//所有词集合
private float wordNoise = 0.65f;
public float getWordNoise() {
return wordNoise;
}
public void setWordNoise(float wordNoise) {
this.wordNoise = wordNoise;
}
public List<Sentence> getSentences() {
return sentences;
}
public void setSentences(List<Sentence> sentences) {
this.sentences = sentences;
}
public List<WorldBody> getAllWorld() {
return allWorld;
}
public void setAllWorld(List<WorldBody> allWorld) {
this.allWorld = allWorld;
}
}