static MultiMap<S> dm_discord_emojiJudgementsFromChat() { new MultiMap<S> mm; new Matches m; for (GazelleLine line : dm_discord_allLines()) if (jmatch("* is a * emoji", tok_joinExtendedUnicodes(javaTok(line.text)), m)) { S emoji = $1, judgement = $2; print("emoji: " + emoji); if (l(emoji) <= 2 && eqicOneOf(judgement, "positive", "negative")) mm.put(emoji, judgement); } ret mm; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
| Snippet ID: | #1021705 |
| Snippet name: | dm_discord_emojiJudgementsFromChat |
| Eternal ID of this version: | #1021705/3 |
| Text MD5: | 02ed0dd46e0ea172d291397960e40b33 |
| Author: | stefan |
| Category: | javax / discord |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-24 18:36:45 |
| Source code size: | 434 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 475 / 526 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |