Transpiled version (981L) is out of date.
1 | !752 |
2 | static Map<String,String> map = new HashMap<String,String>(); |
3 | p{ |
4 | |
5 | } |
6 | synchronized answer{ |
7 | if(match("add noun *",s,m)){ |
8 | S[] nouns = m.unq(0).split(","); |
9 | for (int i = 0; i < nouns.length; i++) { |
10 | map.put(nouns[i],"noun"); |
11 | } |
12 | for(S x : nouns){ |
13 | askSelf(x.trim() +" is a noun"); |
14 | ret(x.trim() +" is a noun"); |
15 | } |
16 | } |
17 | } |
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: | #1003002 |
Snippet name: | add list as part of speech |
Eternal ID of this version: | #1003002/1 |
Text MD5: | 0b46e2ca82e8f35f7c224c43b19bfd1a |
Author: | bgrgndz |
Category: | eleu / nl |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-16 18:49:53 |
Source code size: | 375 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 754 / 788 |
Referenced in: | [show references] |