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 c8514faa WIP
c8514faa is described below
commit c8514faa837d497e780ed0911aed51bf241318f3
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sat Jan 14 12:04:42 2023 -0800
WIP
---
build.sbt | 2 +-
.../main/scala/org/apache/nlpcraft/examples/time/CalculatorModel.scala | 3 ++-
.../nlpcraft/examples/pizzeria/components/PizzeriaModelPipeline.scala | 2 +-
.../apache/nlpcraft/{ => nlp}/stanford/NCStanfordNLPEntityParser.scala | 2 +-
.../apache/nlpcraft/{ => nlp}/stanford/NCStanfordNLPTokenParser.scala | 2 +-
.../nlpcraft/{ => nlp}/stanford/NCStanfordNLPEntityParserSpec.scala | 2 +-
.../nlpcraft/{ => nlp}/stanford/NCStanfordNLPTokenParserSpec.scala | 2 +-
.../org/apache/nlpcraft/{ => nlp}/stanford/util/NCTestConfig.scala | 2 +-
8 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/build.sbt b/build.sbt
index 424120f9..182413fa 100644
--- a/build.sbt
+++ b/build.sbt
@@ -115,7 +115,7 @@ lazy val nlpcraftWithStanford = (project in file("."))
.enablePlugins(ScalaUnidocPlugin)
.aggregate(nlpcraft, nlpcraftStanford)
.settings(
- name := "NLPCraft with Stanford Module",
+ name := "NLPCraft",
version := nlpcraftVer,
ScalaUnidoc / unidoc / unidocProjectFilter := inAnyProject --
inProjects(timeExample, lightSwitchExample, lightSwitchRuExample,
lightSwitchFrExample, pizzeriaExample, calculatorExample),
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 846e6f3b..f998c495 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
@@ -20,7 +20,8 @@ import edu.stanford.nlp.pipeline.StanfordCoreNLP
import org.apache.nlpcraft.*
import org.apache.nlpcraft.annotations.*
import org.apache.nlpcraft.nlp.parsers.*
-import org.apache.nlpcraft.stanford.*
+import org.apache.nlpcraft.nlp.stanford.{NCStanfordNLPEntityParser,
NCStanfordNLPTokenParser}
+import org.apache.nlpcraft.nlp.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 3b78b345..22fbe676 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
@@ -6,7 +6,7 @@ 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 org.apache.nlpcraft.nlp.stanford.{NCStanfordNLPEntityParser,
NCStanfordNLPTokenParser}
import java.util.Properties
diff --git
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParser.scala
similarity index 98%
rename from
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
rename to
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParser.scala
index 39d6e09d..c381ceff 100644
---
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParser.scala
+++
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParser.scala
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.nlpcraft.stanford
+package org.apache.nlpcraft.nlp.stanford
import edu.stanford.nlp.ling.CoreAnnotations.NormalizedNamedEntityTagAnnotation
import edu.stanford.nlp.pipeline.*
diff --git
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParser.scala
similarity index 97%
rename from
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
rename to
nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParser.scala
index d6708a21..d3617dba 100644
---
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParser.scala
+++
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParser.scala
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.nlpcraft.stanford
+package org.apache.nlpcraft.nlp.stanford
import edu.stanford.nlp.ling.*
import edu.stanford.nlp.ling.CoreAnnotations.*
diff --git
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParserSpec.scala
similarity index 96%
rename from
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
rename to
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParserSpec.scala
index d339a791..3a9f85e9 100644
---
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPEntityParserSpec.scala
+++
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPEntityParserSpec.scala
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.nlpcraft.stanford
+package org.apache.nlpcraft.nlp.stanford
import org.apache.nlpcraft.nlp.stanford.util.*
import org.apache.nlpcraft.nlp.util.{CFG, *}
diff --git
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParserSpec.scala
similarity index 97%
rename from
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
rename to
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParserSpec.scala
index 1ac30e19..8a69c5b4 100644
---
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/NCStanfordNLPTokenParserSpec.scala
+++
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/NCStanfordNLPTokenParserSpec.scala
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.nlpcraft.stanford
+package org.apache.nlpcraft.nlp.stanford
import edu.stanford.nlp.pipeline.StanfordCoreNLP
import org.apache.nlpcraft.nlp.util.*
diff --git
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/util/NCTestConfig.scala
similarity index 94%
rename from
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
rename to
nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/util/NCTestConfig.scala
index fb3b3e23..843bd5fb 100644
---
a/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/stanford/util/NCTestConfig.scala
+++
b/nlpcraft-stanford/src/test/scala/org/apache/nlpcraft/nlp/stanford/util/NCTestConfig.scala
@@ -20,7 +20,7 @@ package org.apache.nlpcraft.nlp.stanford.util
import edu.stanford.nlp.pipeline.StanfordCoreNLP
import org.apache.nlpcraft.NCModelConfig
import org.apache.nlpcraft.nlp.util.NCTestPipeline
-import org.apache.nlpcraft.stanford.NCStanfordNLPTokenParser
+import org.apache.nlpcraft.nlp.stanford.NCStanfordNLPTokenParser
import java.util.Properties