This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-468
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-468 by this push:
new 7ad7f1c WIP.
7ad7f1c is described below
commit 7ad7f1c43446e09b1c947b551d915886f18a8f27
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Oct 12 21:17:24 2021 +0300
WIP.
---
.../{NCListBasedWordsDetector.java => NCSimpleWordsDetector.java} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCListBasedWordsDetector.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCSimpleWordsDetector.java
similarity index 91%
rename from
nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCListBasedWordsDetector.java
rename to
nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCSimpleWordsDetector.java
index 3af4512..61efcda 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCListBasedWordsDetector.java
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/components/detectors/NCSimpleWordsDetector.java
@@ -28,10 +28,10 @@ import java.util.stream.Collectors;
/**
*
*/
-public class NCListBasedWordsDetector implements NCNlpWordsDetector {
+public class NCSimpleWordsDetector implements NCNlpWordsDetector {
private final Set<String> words;
- public NCListBasedWordsDetector(Set<String> words) {
+ public NCSimpleWordsDetector(Set<String> words) {
this.words = words == null ? Collections.emptySet() : words;
}