From 5dcb4dc340e4a9c6c48b9712d04be606df60eebd Mon Sep 17 00:00:00 2001 From: inter Date: Thu, 4 Sep 2025 14:09:31 +0800 Subject: [PATCH] Add File --- .../dromara/easyai/naturalLanguage/Word.java | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/main/java/org/dromara/easyai/naturalLanguage/Word.java diff --git a/src/main/java/org/dromara/easyai/naturalLanguage/Word.java b/src/main/java/org/dromara/easyai/naturalLanguage/Word.java new file mode 100644 index 0000000..8d9e13d --- /dev/null +++ b/src/main/java/org/dromara/easyai/naturalLanguage/Word.java @@ -0,0 +1,41 @@ +package org.dromara.easyai.naturalLanguage; + + +public class Word { + private String word; + private Word son; + private int wordFrequency;//词频 + private int lv;//该词的时间序列 + + public int getLv() { + return lv; + } + + public void setLv(int lv) { + this.lv = lv; + } + + public String getWord() { + return word; + } + + public void setWord(String word) { + this.word = word; + } + + public Word getSon() { + return son; + } + + public void setSon(Word son) { + this.son = son; + } + + public int getWordFrequency() { + return wordFrequency; + } + + public void setWordFrequency(int wordFrequency) { + this.wordFrequency = wordFrequency; + } +}