in reply to Re^5: Chatterbot update
in thread Chatterbot update

And I cache the titles to minimise the number of calls.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^7: Chatterbot update
by cavac (Prior) on Jun 19, 2024 at 12:07 UTC
      Well if caching is ok and you want to avoid querying the monastery, just count the various representations and choose the winner.

      Not many will go for lANx++

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery