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/03/26 21:42:33 UTC
[incubator-nlpcraft] branch master updated (9cc4e48 -> b5bba5e)
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git.
from 9cc4e48 WIP.
add 3f617d4 WIP.
add af9b858 WIP.
add 4911679 Update NCIdlCompilerBase.scala
add 49d91e8 WIP.
add 1001938 WIP.
add b5bba5e Minor fixes. Tests added.
No new revisions were added by this update.
Summary of changes:
.../nlpcraft/common/config/NCConfigurableJava.java | 4 +-
.../common/extcfg/NCExternalConfigManager.scala | 4 +-
.../nlpcraft/common/makro/NCMacroCompiler.scala | 4 +-
.../org/apache/nlpcraft/common/util/NCUtils.scala | 81 +-
.../nlpcraft/model/NCTokenPredicateContext.java | 3 +-
.../nlpcraft/model/NCTokenPredicateResult.java | 10 +-
.../model/intent/compiler/NCIdlCompiler.scala | 52 +-
.../model/intent/compiler/NCIdlCompilerBase.scala | 10 +-
.../nlpcraft/model/intent/compiler/antlr4/NCIdl.g4 | 13 +-
.../model/intent/compiler/antlr4/NCIdl.interp | 3 +-
.../intent/compiler/antlr4/NCIdlBaseListener.java | 12 +
.../intent/compiler/antlr4/NCIdlListener.java | 10 +
.../model/intent/compiler/antlr4/NCIdlParser.java | 834 ++++++++++++---------
.../model/intent/solver/NCIntentSolverEngine.scala | 38 +-
.../probe/mgrs/conn/NCConnectionManager.scala | 16 +-
.../server/geo/tools/NCGeoNamesGenerator.scala | 2 +-
.../geo/tools/NCGeoStateNamesGenerator.scala | 2 +-
.../geo/tools/metro/NCGeoMetroGenerator.scala | 2 +-
.../geo/tools/unstats/NCUnsdStatsService.scala | 2 +-
.../org/apache/nlpcraft/server/json/NCJson.scala | 4 +-
.../nlpcraft/model/dialog/NCDialogSpec.scala | 71 +-
.../nlpcraft/model/dialog/NCDialogSpec2.scala | 147 ++++
.../idl/compiler/functions/NCIdlFunctions.scala | 84 ++-
.../functions/NCIdlFunctionsCollections.scala | 5 +-
.../compiler/functions/NCIdlFunctionsCompany.scala | 1 -
.../compiler/functions/NCIdlFunctionsCustom.scala | 86 +++
.../compiler/functions/NCIdlFunctionsMath.scala | 18 +-
.../compiler/functions/NCIdlFunctionsMeta.scala | 5 +-
.../compiler/functions/NCIdlFunctionsOther.scala | 31 +-
.../compiler/functions/NCIdlFunctionsRequest.scala | 2 +-
.../compiler/functions/NCIdlFunctionsStat.scala | 15 +-
.../compiler/functions/NCIdlFunctionsStrings.scala | 21 +-
.../compiler/functions/NCIdlFunctionsToken.scala | 4 +-
...nsStat.scala => NCIdlFunctionsTokensUsed.scala} | 48 +-
.../nlpcraft/model/intent/idl/compiler/test_ok.idl | 4 +-
.../apache/nlpcraft/model/meta/NCMetaSpec.scala | 4 +-
36 files changed, 1108 insertions(+), 544 deletions(-)
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/model/dialog/NCDialogSpec2.scala
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsCustom.scala
copy nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/{NCIdlFunctionsStat.scala => NCIdlFunctionsTokensUsed.scala} (50%)