This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5bdc455 minor tweaks
5bdc455 is described below
commit 5bdc455913362942bd810dbe358cf551e8f848cc
Author: Paul King <[email protected]>
AuthorDate: Sun Mar 12 14:58:40 2023 +1000
minor tweaks
---
site/src/site/blog/apache-nlpcraft-with-groovy.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
b/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
index 19f618e..3377eb5 100644
--- a/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
+++ b/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
@@ -33,6 +33,8 @@ is probably your best choice as programming language. Having
said that,
since we are on the JVM, certain integration steps aren't too hard.
We'll show using Groovy as the client language.
+== Controlling house light switches
+
image:https://original.accentuate.io/556263801041/1636542278424/Lighting-Automation-Mob.jpg[House
lighting (source: accentuate.io),200,float="right"]
First, a bit of background about the example.
We are trying to determine the intent behind English language
@@ -65,7 +67,6 @@ Finally, here is the Groovy code:
----
import org.apache.nlpcraft.*
import org.apache.nlpcraft.examples.lightswitch.LightSwitchModel
-import scala.util.Using
import static scala.collection.immutable.HashMap$.MODULE$ as ScalaMap
var data = ScalaMap.empty() // no optional data