rivescript-java
rivescript-java copied to clipboard
A RiveScript interpreter for Java. RiveScript is a scripting language for chatterbots.
[gradle caching](https://docs.gradle.org/current/userguide/build_cache.html). Shared caches can reduce the number of tasks you need to execute by reusing outputs already generated elsewhere. This can significantly decrease build times. We can enable this...
! version = 2.0
Hi People! I am working on a small brain (like 200 triggers) and RS response time goes slower and slower each time it responses, talking about 20 or 30 questions....
[Here](https://github.com/aichaos/rivescript-java/blob/04abeca7fffeaf0783e6aa9c2fe84c34829e5a67/rivescript-core/src/main/java/com/rivescript/RiveScript.java#L794) the code is missing a loop on all the entries of the list within the value of the map or maybe this? ``` if(entry.getValue().contains(UNDEF_TAG)) { this.array.remove(entry.getKey()); } else {...
[Here](https://github.com/aichaos/rivescript-java/blob/04abeca7fffeaf0783e6aa9c2fe84c34829e5a67/rivescript-core/src/main/java/com/rivescript/RiveScript.java#L2362), there is an obvious bug, it should be if != and not == else there will be a NPE on the next line
I was able to add python as a scripting language using jython and a simple handler. However I needed to modify this [commit](https://github.com/pmioulet/rivescript-java/commit/29be6d84cfe357b2701b471170f9f88d22559f9e) in order avoid losing indentation in Object...
Python support was added using jython. JNR version was forced to the jruby version to avoid this issue: https://github.com/jruby/jruby/issues/5334
- Redis? - Memcache? - JDBC?
I was reading about this [issue 61](https://github.com/aichaos/rivescript-js/issues/61) in the JS version of rivescript and I was wondering if there is any plan to also port this deparse method to the...