Download Jar. Libraryless. Click here for Pure Java version (19722L/140K).
!7 unset flag SymbolAsString. p { ai_alternativeSmartBot(); ai_useThoughtSpaces(true); ActualThoughtSpace myTS = new ActualThoughtSpace(currentThoughtSpace()); thoughtSpace(myTS); myTS.blockedA = litciset(symbol("Haskell")); assertContainsIC(print(ai_texts("Java", "is", "$X")), symbol("a programming language")); bench 10000 { myTS.blockedA.add(symbol("Java")); assertDoesntContainIC(ai_texts("Java", "is", "$X"), symbol("a programming language")); myTS.blockedA.remove(symbol("Java")); assertContainsIC(ai_texts("Java", "is", "$X"), symbol("a programming language")); } print("OK"); }
Began life as a copy of #1012677
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012716 |
Snippet name: | Test Thought Blocking v3 (with symbols, OK) |
Eternal ID of this version: | #1012716/7 |
Text MD5: | 73214c8f284067cd15ee4724db918144 |
Transpilation MD5: | 41f345bccbc1e5da4e1e0a975c046245 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 22:06:55 |
Source code size: | 658 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 518 / 1220 |
Version history: | 6 change(s) |
Referenced in: | #1012724 - Parsing in thought space v1 [OK with Smart Bot DB] |