Libraryless. Click here for Pure Java version (1026L/7K/23K).
1 | !7 |
2 | |
3 | svoid guess(S s, SS data) { |
4 | int start = or(intRangeMax( |
5 | ai_parseAction(data.get("subject")), |
6 | ai_parseAction(data.get("verb"))), 0); |
7 | int end = l(dropPunctuationAtEnd(s)); |
8 | data.put("object", ai_makeAction(s, start, end)); |
9 | } |
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: | #1008723 |
Snippet name: | Guess module: Guess object |
Eternal ID of this version: | #1008723/3 |
Text MD5: | 172a576eaba7eda9b3a89707d2af371f |
Transpilation MD5: | af5ec1894673d746c4846fc71f29a3a1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-30 17:27:23 |
Source code size: | 247 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 404 / 769 |
Version history: | 2 change(s) |
Referenced in: | [show references] |