aichaos / rivescript-java

A RiveScript interpreter for Java. RiveScript is a scripting language for chatterbots.
http://www.rivescript.com
MIT License
64 stars 38 forks source link

Potential parse bug #66

Open pmioulet opened 5 years ago

pmioulet commented 5 years ago

Here 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 {
  this.array.put(entry.getKey(), entry.getValue());
}