This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-472
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-472 by this push:
new 0284391 WIP.
0284391 is described below
commit 0284391aa7bb9b097400aec68c4ce1ad5fdfcc96
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Dec 30 00:02:48 2021 +0300
WIP.
---
.../nlp/entity/parser/semantic/impl/en/NCENSemanticTextStemmer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/semantic/impl/en/NCENSemanticTextStemmer.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/semantic/impl/en/NCENSemanticTextStemmer.java
index 15f0274..c70d246 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/semantic/impl/en/NCENSemanticTextStemmer.java
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/semantic/impl/en/NCENSemanticTextStemmer.java
@@ -24,7 +24,7 @@ public class NCENSemanticTextStemmer implements
NCSemanticTextStemmer {
private final PorterStemmer s = new PorterStemmer();
@Override
- public String stem(String text) {
+ public synchronized String stem(String text) {
return s.stem(text);
}
}