1 | static L<Symbol> ai_texts(CharSequence _a, CharSequence _b, CharSequence _c) {
|
2 | Symbol a = symbol(_a), b = symbol(_b), c = symbol(_c); |
3 | int position = tripleIndexOf(a, b, c, symbol_dollarX()); |
4 | if (position < 0) fail("No $X in " + ai_renderTriple(a, b, c));
|
5 | if (ai_useThoughtSpaces()) |
6 | ret ai_texts(a, b, c, thoughtSpace()); |
7 | |
8 | // legacy |
9 | ret allToSymbol(web_texts(ai_search_dollarX(a, b, c))); |
10 | } |
11 | |
12 | static L<Symbol> ai_texts(Symbol a, Symbol b, Symbol c, AbstractThoughtSpace ts) {
|
13 | ret ai_tripleRefsToTexts(a, b, c, ai_thoughtSpace_query(a, b, c, ts)); |
14 | } |
15 | |
16 | static L<Symbol> ai_texts(T3<Sym> t) {
|
17 | ret t == null ? sharedEmptyList() : ai_texts(t.a, t.b, t.c); |
18 | } |
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: | #1011647 |
| Snippet name: | ai_texts - search_dollarX & web_texts |
| Eternal ID of this version: | #1011647/18 |
| Text MD5: | 5746e3900a339f000595d53ba65e4009 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-22 18:50:56 |
| Source code size: | 688 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 907 / 894 |
| Version history: | 17 change(s) |
| Referenced in: | [show references] |