1 | please include function trueStatements_cached. |
2 | please include function loadTruth_cached. |
3 | |
4 | // use facts in English |
5 | static void useFacts(S facts) { |
6 | L<S> statements = linesToCL(facts); |
7 | useFacts_cl(statements); |
8 | } |
9 | |
10 | // use facts in CL |
11 | static void useFacts_cl(L<S> statements) { |
12 | ai(); |
13 | // trueStatements_cached_autoClearInterval = 0; |
14 | trueStatements_cached_cache.set(new LinkedHashSet(map(f dropGlobalIDPrefix, statements))); |
15 | loadTruth_cached_cache.set(aiMakeStatements(statements)); |
16 | } |
17 | |
18 | static void useFacts_cl(S statements) { |
19 | useFacts_cl(toLinesFullTrim(statements)); |
20 | } |
Began life as a copy of #1007703
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: | #1008091 |
Snippet name: | useFacts |
Eternal ID of this version: | #1008091/1 |
Text MD5: | 68bf35723487ed61242a2f1834de0864 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-24 14:19:26 |
Source code size: | 596 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 434 / 429 |
Referenced in: | [show references] |