This is an automated email from the ASF dual-hosted git repository.
aradzinski 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 b77b5f6 Update NCOpenNlpEntityParser.java
b77b5f6 is described below
commit b77b5f6a8b0fcb7ac2f186a18c7f12875c11735a
Author: Aaron Radzinski <[email protected]>
AuthorDate: Wed Dec 29 16:25:16 2021 -0800
Update NCOpenNlpEntityParser.java
---
.../nlp/entity/parser/opennlp/NCOpenNlpEntityParser.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/opennlp/NCOpenNlpEntityParser.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/opennlp/NCOpenNlpEntityParser.java
index 4d4b5dd..a725430 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/opennlp/NCOpenNlpEntityParser.java
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/opennlp/NCOpenNlpEntityParser.java
@@ -40,21 +40,21 @@ public class NCOpenNlpEntityParser implements
NCEntityParser {
private final NCOpenNlpEntityParserImpl impl;
/**
- * @param modelSrc
+ * @param mdlSrc
*/
- public NCOpenNlpEntityParser(String modelSrc) {
- Objects.requireNonNull(modelSrc, "Model source cannot be null.");
+ public NCOpenNlpEntityParser(String mdlSrc) {
+ Objects.requireNonNull(mdlSrc, "Model source cannot be null.");
- this.impl = NCOpenNlpEntityParserImpl.apply(modelSrc);
+ this.impl = NCOpenNlpEntityParserImpl.apply(mdlSrc);
}
/**
- * @param modelFile
+ * @param mdlFile
*/
- public NCOpenNlpEntityParser(File modelFile) {
- Objects.requireNonNull(modelFile, "Model file cannot be null.");
+ public NCOpenNlpEntityParser(File mdlFile) {
+ Objects.requireNonNull(mdlFile, "Model file cannot be null.");
- this.impl = NCOpenNlpEntityParserImpl.apply(modelFile);
+ this.impl = NCOpenNlpEntityParserImpl.apply(mdlFile);
}
@Override