1 | static L<S> tok_classifyEnglishWord(S t) { |
2 | new HashSet<S> l; |
3 | if (isNoun(t)) l.add("noun"); |
4 | if (isAdjective(t)) l.add("adjective"); |
5 | l.addAll(ai_isAWhat(t)); |
6 | ret ai_sortCategoriesBySize(l); |
7 | } |
Began life as a copy of #1012542
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: | #1012592 |
Snippet name: | tok_classifyEnglishWord |
Eternal ID of this version: | #1012592/6 |
Text MD5: | 551304cdc93222ae7ed38e54132fc13e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-07 17:06:00 |
Source code size: | 205 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 364 / 396 |
Version history: | 5 change(s) |
Referenced in: | [show references] |