You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2022/08/19 18:14:35 UTC
[incubator-nlpcraft] branch master updated: WIP on scaladoc.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 9726dc58 WIP on scaladoc.
9726dc58 is described below
commit 9726dc58103824bcd2f0349ff23c95c0988cd3bd
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Fri Aug 19 11:14:29 2022 -0700
WIP on scaladoc.
---
build.sbt | 27 ++++++++++++---------------
scaladoc/docroot.md | 30 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 15 deletions(-)
diff --git a/build.sbt b/build.sbt
index ec331f91..150d1167 100644
--- a/build.sbt
+++ b/build.sbt
@@ -22,18 +22,14 @@ val scalaMajVer = "3"
val scalaMinVer = "1.3"
val log4jVer = "2.17.2"
val scalaLoggingVer = "3.9.4"
-val scalatestVer = "3.2.11"
-val scalaParColections = "1.0.4"
val orgAntlr4Ver = "4.10.1"
val jlineVer = "3.21.0"
val commonsIoVer = "2.11.0"
val commonsLang3Ver = "3.12.0"
val commonsCodecVer = "1.15"
val commonsCollectionsVer = "4.4"
-val scala3RefVer = "1.1.4"
val gsonVer = "2.9.0"
val jacksonVer = "2.13.2"
-val jacksonYamlVer = "2.13.2"
val apacheOpennlpVer = "1.9.4"
// Test libraries.
@@ -42,7 +38,7 @@ val junitVer = "5.8.2"
val jmhVer = "1.35"
// Stanford project libraries.
-val stanfordCorenlpVer = "4.4.0"
+val stanfordCoreNLPVer = "4.4.0"
// Examples libraries.
val languagetoolVer = "5.6"
@@ -51,7 +47,7 @@ val luceneAnalyzersCommonVer = "8.11.1"
ThisBuild / scalaVersion := s"$scalaMajVer.$scalaMinVer"
ThisBuild / version := nlpcraftVer
ThisBuild / organization := "org.apache"
-ThisBuild / organizationName := "NlpCraft"
+ThisBuild / organizationName := "nlpcraft"
ThisBuild / description := "An open source API to convert natural language into actions."
ThisBuild / licenses := List("Apache-2.0" -> url("https://github.com/sbt/sbt/blob/develop/LICENSE"))
ThisBuild / homepage := Some(url("https://nlpcraft.apache.org/"))
@@ -82,7 +78,8 @@ lazy val libs = Seq(
)
val commonScalaDoc = Seq(
- "-project-footer", "Apache, Nlpcraft",
+ "-skip-by-regex:org.apache.nlpcraft.internal",
+ "-project-footer", "Apache, NLPCraft",
"-project-version", nlpcraftVer,
"-siteroot", ".",
"-doc-root-content", "scaladoc/docroot.md",
@@ -92,7 +89,7 @@ val commonScalaDoc = Seq(
lazy val nlpcraft = (project in file("nlpcraft"))
.settings(
- name := "NlpCraft",
+ name := "NLPCraft",
version := nlpcraftVer,
// Scaladoc config.
@@ -107,7 +104,7 @@ lazy val nlpcraft = (project in file("nlpcraft"))
lazy val nlpcraftStanford = (project in file("nlpcraft-stanford"))
.dependsOn(nlpcraft)
.settings(
- name := "NlpCraft Stanford",
+ name := "NLPCraft Stanford",
version := nlpcraftVer,
// Scaladoc config.
@@ -115,14 +112,14 @@ lazy val nlpcraftStanford = (project in file("nlpcraft-stanford"))
// Dependencies.
libraryDependencies ++= libs,
- libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCorenlpVer,
- libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCorenlpVer classifier "models"
+ libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCoreNLPVer,
+ libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCoreNLPVer classifier "models"
)
lazy val timeExample = (project in file("nlpcraft-examples/time"))
.dependsOn(nlpcraft)
.settings(
- name := "NlpCraft Time Example",
+ name := "NLPCraft Time Example",
version := nlpcraftVer,
// Scaladoc config.
@@ -135,7 +132,7 @@ lazy val timeExample = (project in file("nlpcraft-examples/time"))
lazy val lightSwitchExample = (project in file("nlpcraft-examples/lightswitch"))
.dependsOn(nlpcraft)
.settings(
- name := "NlpCraft LightSwitch Example",
+ name := "NLPCraft LightSwitch Example",
version := nlpcraftVer,
// Scaladoc config.
@@ -148,7 +145,7 @@ lazy val lightSwitchExample = (project in file("nlpcraft-examples/lightswitch"))
lazy val lightSwitchRuExample = (project in file("nlpcraft-examples/lightswitch-ru"))
.dependsOn(nlpcraft)
.settings(
- name := "NlpCraft LightSwitch RU Example",
+ name := "NLPCraft LightSwitch RU Example",
version := nlpcraftVer,
// Scaladoc config.
@@ -164,7 +161,7 @@ lazy val lightSwitchRuExample = (project in file("nlpcraft-examples/lightswitch-
lazy val lightSwitchFrExample = (project in file("nlpcraft-examples/lightswitch-fr"))
.dependsOn(nlpcraft)
.settings(
- name := "NlpCraft LightSwitch FR Example",
+ name := "NLPCraft LightSwitch FR Example",
version := nlpcraftVer,
// Scaladoc config.
diff --git a/scaladoc/docroot.md b/scaladoc/docroot.md
new file mode 100644
index 00000000..e3cf7936
--- /dev/null
+++ b/scaladoc/docroot.md
@@ -0,0 +1,30 @@
+<pre>
+ _ ____ ______ ______
+ / | / / /___ / ____/________ _/ __/ /_
+ / |/ / / __ \/ / / ___/ __ `/ /_/ __/
+ / /| / / /_/ / /___/ / / /_/ / __/ /_
+ /_/ |_/_/ .___/\____/_/ \__,_/_/ \__/
+ /_/
+SCALA3 API TO CONVERT NATURAL LANGUAGE INTO ACTION
+</pre>
+
+- Full documentation at [[https://nlpcraft.apache.org]]
+- Examples [[https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples]]
+- GitHub project [[https://github.com/apache/incubator-nlpcraft]]
+
+[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/apache/opennlp/master/LICENSE)
+[![Maven Central](https://img.shields.io/maven-central/v/org.apache.nlpcraft/nlpcraft)](https://search.maven.org/artifact/org.apache.nlpcraft/nlpcraft)
+
+Maven dependency:
+<pre>
+<dependency>
+ <groupId>org.apache.nlpcraft</groupId>
+ <artifactId>nlpcraft</artifactId>
+ <version>1.0.0</version>
+</dependency>
+</pre>
+
+SBT dependency:
+<pre>
+libraryDependencies += "org.apache.nlpcraft" % "nlpcraft" % "1.0.0"
+</pre>