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

4
LINES

< > BotCompany Repo | #1018202 // ai_groupSimplestNounPhrases

JavaX fragment (include)

sS ai_groupSimplestNounPhrases(S s) {
  ret ai_groupUsingProductions(s, ai_standardBUParserWithProductions(
    [[<determiner> + <noun> = <noun>]]));
}

Author comment

Began life as a copy of #1018201

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018202
Snippet name: ai_groupSimplestNounPhrases
Eternal ID of this version: #1018202/1
Text MD5: 79e06e0049f16982abc287c19c8fed38
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-09 18:26:40
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 483
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018204 - ai_groupSimplestNounPhrasesIfUngrouped
#1021312 - ai_groupAndReturnSimplestNounPhrases
#1023525 - ai_groupSimplestNounPhrases_cachedParser (doesn't work)
#1023529 - ai_groupSimplestNounPhrases2 - grasps only shorter phrases, but is faster