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 2021/07/10 01:05:02 UTC

[incubator-nlpcraft] branch master updated: WIP.

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 4517a1d  WIP.
4517a1d is described below

commit 4517a1dd558622b3d9fd268ecca2de13cb7b074a
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Fri Jul 9 18:04:47 2021 -0700

    WIP.
---
 .../weather/openweathermap/OpenWeatherMapService.java        | 12 ++++++------
 .../apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala  |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/nlpcraft-examples/weather/src/main/java/org/apache/nlpcraft/examples/weather/openweathermap/OpenWeatherMapService.java b/nlpcraft-examples/weather/src/main/java/org/apache/nlpcraft/examples/weather/openweathermap/OpenWeatherMapService.java
index 1d43507..7f430e4 100644
--- a/nlpcraft-examples/weather/src/main/java/org/apache/nlpcraft/examples/weather/openweathermap/OpenWeatherMapService.java
+++ b/nlpcraft-examples/weather/src/main/java/org/apache/nlpcraft/examples/weather/openweathermap/OpenWeatherMapService.java
@@ -99,8 +99,8 @@ public class OpenWeatherMapService {
     /**
      * Constructor.
      *
-     * @param key            Service key.
-     * @param maxDaysBack    Max days (looking back) configuration value.
+     * @param key Service key.
+     * @param maxDaysBack Max days (looking back) configuration value.
      * @param maxDaysForward Max days (looking forward) configuration value.
      */
     public OpenWeatherMapService(String key, int maxDaysBack, int maxDaysForward) {
@@ -128,7 +128,7 @@ public class OpenWeatherMapService {
     /**
      * @param lat Latitude.
      * @param lon Longitude.
-     * @param d   Date.
+     * @param d Date.
      * @return REST call result.
      */
     private Map<String, Object> get(double lat, double lon, long d) {
@@ -166,10 +166,10 @@ public class OpenWeatherMapService {
     /**
      * See https://openweathermap.org/api/one-call-api#hist_parameter to extract fields.
      *
-     * @param lat  Latitude.
-     * @param lon  Longitude.
+     * @param lat Latitude.
+     * @param lon Longitude.
      * @param from From date.
-     * @param to   To date.
+     * @param to  To date.
      * @return List of REST call results.
      * @throws OpenWeatherMapException Thrown in case of any provider errors.
      */
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
index 0dcf558..0f86e13 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
@@ -885,7 +885,7 @@ private [cmdline] object NCCliCommands {
                         s"Comma separated list of fully qualified class names for models to deploy and test. Note that you also " +
                         s"must provide the additional classpath via ${c("'--cp'")} parameter. If not provided, the models " +
                         s"specified in configuration file (${c("'--cfg'")} parameter) will be used instead. Note that " +
-                        s"you can have multiple '${c("'--mdls'")} parameters - each specifying one or more model class " +
+                        s"you can have multiple ${c("'--mdls'")} parameters - each specifying one or more model class " +
                         s"names - and they will be automatically combined together."
                 ),
                 Parameter(