Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1012592 // tok_classifyEnglishWord

JavaX fragment (include)

static L<S> tok_classifyEnglishWord(S t) {
  new HashSet<S> l;
  if (isNoun(t)) l.add("noun");
  if (isAdjective(t)) l.add("adjective");
  l.addAll(ai_isAWhat(t));
  ret ai_sortCategoriesBySize(l);
}

Author comment

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: 363 / 395
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012597 - tok_classifyEnglishWords