static S findAIConcept(S description) { Concepts concepts = new Concepts(#1006463).safeLoad(); ret findAIConcept(concepts, description); } static S findAIConcept(Concepts concepts, S description) { for (Concept c : list(concepts, "AIConcept")) if (match(description, getString(c, "name"))) ret getString(c, "globalID"); null; }
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: | #1007084 |
Snippet name: | findAIConcept (matching on "description" field) |
Eternal ID of this version: | #1007084/4 |
Text MD5: | 1fd1577c65782e01863afe5be2866ac7 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-20 14:18:33 |
Source code size: | 356 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 571 / 561 |
Version history: | 3 change(s) |
Referenced in: | [show references] |