static ThreadLocal<Map<S, Map<S, Double>>> ai_getWordToCategoryWeight_map = newThreadLocal(); static Double ai_getWordToCategoryWeight(S word, S category) { ret mapGet(mapGet(ai_getWordToCategoryWeight_map!, word), category); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017458 |
Snippet name: | ai_getWordToCategoryWeight - e.g. for guessing word categories |
Eternal ID of this version: | #1017458/4 |
Text MD5: | 44a2074d5be63577f1972d2fef90446e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-23 16:29:45 |
Source code size: | 234 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 345 / 384 |
Version history: | 3 change(s) |
Referenced in: | [show references] |