This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-520-scaladoc
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-520-scaladoc by this 
push:
     new c366cfc7 WIP
c366cfc7 is described below

commit c366cfc76f39689ef9743fa2dd50245792b99268
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sat Jan 14 11:56:22 2023 -0800

    WIP
---
 build.sbt                                                            | 5 +----
 .../scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala    | 4 ++--
 .../examples/pizzeria/components/PizzeriaModelPipeline.scala         | 3 +--
 .../{nlp/entity/parser => }/stanford/NCStanfordNLPEntityParser.scala | 2 +-
 .../{nlp/token/parser => }/stanford/NCStanfordNLPTokenParser.scala   | 2 +-
 .../entity/parser => }/stanford/NCStanfordNLPEntityParserSpec.scala  | 5 +++--
 .../token/parser => }/stanford/NCStanfordNLPTokenParserSpec.scala    | 4 ++--
 .../nlpcraft/{nlp/util/stanford => stanford/util}/NCTestConfig.scala | 4 ++--
 8 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/build.sbt b/build.sbt
index 8008f7f4..424120f9 100644
--- a/build.sbt
+++ b/build.sbt
@@ -32,9 +32,6 @@ val gsonVer = "2.10.1"
 val jacksonVer = "2.13.4"
 val apacheOpennlpVer = "2.1.0"
 
-// Test libraries.
-val junitVer = "5.9.0"
-
 // Stanford project libraries.
 val stanfordCoreNLPVer  = "4.5.1"
 
@@ -114,7 +111,7 @@ lazy val nlpcraftStanford = (project in 
file("nlpcraft-stanford"))
         libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % 
stanfordCoreNLPVer classifier "models"
     )
 
-lazy val nlpcraftWithStandord = (project in file("."))
+lazy val nlpcraftWithStanford = (project in file("."))
     .enablePlugins(ScalaUnidocPlugin)
     .aggregate(nlpcraft, nlpcraftStanford)
     .settings(
diff --git 
a/nlpcraft-examples/calculator/src/main/scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala
 
b/nlpcraft-examples/calculator/src/main/scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala
index 96f17fae..846e6f3b 100644
--- 
a/nlpcraft-examples/calculator/src/main/scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala
+++ 
b/nlpcraft-examples/calculator/src/main/scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala
@@ -19,9 +19,9 @@ package org.apache.nlpcraft.examples.time
 import edu.stanford.nlp.pipeline.StanfordCoreNLP
 import org.apache.nlpcraft.*
 import org.apache.nlpcraft.annotations.*
-import org.apache.nlpcraft.nlp.entity.parser.stanford.*
 import org.apache.nlpcraft.nlp.parsers.*
-import org.apache.nlpcraft.nlp.token.parser.stanford.NCStanfordNLPTokenParser
+import org.apache.nlpcraft.stanford.*
+
 import java.util.Properties
 import scala.annotation.*
 
diff --git 
a/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
 
b/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
index d591dc2f..3b78b345 100644
--- 
a/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
+++ 
b/nlpcraft-examples/pizzeria/src/main/scala/org/apache/nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala
@@ -2,12 +2,11 @@ package org.apache.nlpcraft.examples.pizzeria.components
 
 import edu.stanford.nlp.pipeline.StanfordCoreNLP
 import org.apache.nlpcraft.nlp.parsers.*
-import org.apache.nlpcraft.nlp.entity.parser.stanford.NCStanfordNLPEntityParser
-import org.apache.nlpcraft.nlp.token.parser.stanford.NCStanfordNLPTokenParser
 import org.apache.nlpcraft.*
 import org.apache.nlpcraft.nlp.stemmer.{NCEnStemmer, NCStemmer}
 import org.apache.nlpcraft.nlp.enrichers.NCEnStopWordsTokenEnricher
 import org.apache.nlpcraft.nlp.parsers.NCSemanticEntityParser
+import org.apache.nlpcraft.stanford.{NCStanfordNLPEntityParser, 
NCStanfordNLPTokenParser}
 
 import java.util.Properties
 
diff --git 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
similarity index 98%
rename from 
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
rename to 
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
index c34c433b..39d6e09d 100644
--- 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
+++ 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.nlp.entity.parser.stanford
+package org.apache.nlpcraft.stanford
 
 import edu.stanford.nlp.ling.CoreAnnotations.NormalizedNamedEntityTagAnnotation
 import edu.stanford.nlp.pipeline.*
diff --git 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParser.scala
 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
similarity index 97%
rename from 
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParser.scala
rename to 
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
index ce6665ff..d6708a21 100644
--- 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParser.scala
+++ 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.nlp.token.parser.stanford
+package org.apache.nlpcraft.stanford
 
 import edu.stanford.nlp.ling.*
 import edu.stanford.nlp.ling.CoreAnnotations.*
diff --git 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParserSpec.scala
 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
similarity index 92%
rename from 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParserSpec.scala
rename to 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
index 707b15c0..d339a791 100644
--- 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParserSpec.scala
+++ 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
@@ -15,11 +15,12 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.nlp.entity.parser.stanford
+package org.apache.nlpcraft.stanford
 
+import org.apache.nlpcraft.nlp.stanford.util.*
 import org.apache.nlpcraft.nlp.util.{CFG, *}
-import org.apache.nlpcraft.nlp.util.stanford.*
 import org.scalatest.funsuite.AnyFunSuite
+
 /**
   *
   */
diff --git 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParserSpec.scala
 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
similarity index 93%
rename from 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParserSpec.scala
rename to 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
index 271807a6..1ac30e19 100644
--- 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/token/parser/stanford/NCStanfordNLPTokenParserSpec.scala
+++ 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
@@ -15,11 +15,11 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.nlp.token.parser.stanford
+package org.apache.nlpcraft.stanford
 
 import edu.stanford.nlp.pipeline.StanfordCoreNLP
 import org.apache.nlpcraft.nlp.util.*
-import org.apache.nlpcraft.nlp.util.stanford.*
+import org.apache.nlpcraft.nlp.stanford.util.*
 import org.scalatest.funsuite.AnyFunSuite
 
 /**
diff --git 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/util/stanford/NCTestConfig.scala
 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
similarity index 90%
rename from 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/util/stanford/NCTestConfig.scala
rename to 
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
index 64d31f9d..fb3b3e23 100644
--- 
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/util/stanford/NCTestConfig.scala
+++ 
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
@@ -15,12 +15,12 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.nlp.util.stanford
+package org.apache.nlpcraft.nlp.stanford.util
 
 import edu.stanford.nlp.pipeline.StanfordCoreNLP
 import org.apache.nlpcraft.NCModelConfig
-import org.apache.nlpcraft.nlp.token.parser.stanford.NCStanfordNLPTokenParser
 import org.apache.nlpcraft.nlp.util.NCTestPipeline
+import org.apache.nlpcraft.stanford.NCStanfordNLPTokenParser
 
 import java.util.Properties
 

Reply via email to