From 81a6322437a3d6c56647769dfad89768994fdb54 Mon Sep 17 00:00:00 2001 From: inter Date: Thu, 4 Sep 2025 14:09:32 +0800 Subject: [PATCH] Add File --- .../easyai/naturalLanguage/WordTemple.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/main/java/org/dromara/easyai/naturalLanguage/WordTemple.java diff --git a/src/main/java/org/dromara/easyai/naturalLanguage/WordTemple.java b/src/main/java/org/dromara/easyai/naturalLanguage/WordTemple.java new file mode 100644 index 0000000..9fa15fa --- /dev/null +++ b/src/main/java/org/dromara/easyai/naturalLanguage/WordTemple.java @@ -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 sentences = new ArrayList<>();//所有断句 + private List allWorld = new ArrayList<>();//所有词集合 + private float wordNoise = 0.65f; + + public float getWordNoise() { + return wordNoise; + } + + public void setWordNoise(float wordNoise) { + this.wordNoise = wordNoise; + } + + public List getSentences() { + return sentences; + } + + public void setSentences(List sentences) { + this.sentences = sentences; + } + + public List getAllWorld() { + return allWorld; + } + + public void setAllWorld(List allWorld) { + this.allWorld = allWorld; + } +}