1 | // avoid XYZ vars in this step - seems useful, now on by default |
2 | sbool englishToConceptLanguage_simple_noXYZ = true; |
3 | |
4 | sS englishToConceptLanguage_simple(S s) { |
5 | for (AIConcept c : englishToConceptLanguage_concepts()) { |
6 | L<S> tok = javaTokC(c.name); |
7 | if (tok.contains("*")) continue; |
8 | if (englishToConceptLanguage_simple_noXYZ && containsXYZVariables_c(tok)) continue; |
9 | if (match_noEllipsis(c.name, s)) |
10 | ret c.globalID; |
11 | } |
12 | null; |
13 | } |
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: | #1007425 |
Snippet name: | englishToConceptLanguage_simple |
Eternal ID of this version: | #1007425/8 |
Text MD5: | 02e5eb62282826c3aa7ddd9dd0b931db |
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-29 18:09:30 |
Source code size: | 464 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 558 / 510 |
Version history: | 7 change(s) |
Referenced in: | [show references] |