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

6
LINES

< > BotCompany Repo | #1021320 // ai_addNounRefsForSimplestNounPhrases (and raw nouns)

JavaX fragment (include)

sS ai_addNounRefsForSimplestNounPhrases(S s) {
  S s2, LS nouns = unpair ai_groupAndReturnSimplestNounPhrases(s);
  ret ai_createNounRefs_1(javaTokWithBracketsAndRanges(s2),
    ai_pronouns(),
    combinedSet(ai_nouns(), mapToCISet optCurly(nouns)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021320
Snippet name: ai_addNounRefsForSimplestNounPhrases (and raw nouns)
Eternal ID of this version: #1021320/2
Text MD5: 8ee2e95b4c1d77c8b34d246d53e637e0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-08 16:36:06
Source code size: 257 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 348 / 368
Version history: 1 change(s)
Referenced in: [show references]