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

12
LINES

< > BotCompany Repo | #1017482 // Test Bottom-Up Parser with n-token hygiene [forget it]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Transpiled version (10983L) is out of date.

!7

!include #1017479 // AI_BottomUpParser1 with observeNTokenHygiene

p-exp {
  S s = "I saw a movie {the other day}";
  new AI_BottomUpParser1 parser;
  parser.observeNTokenHygiene = true;
  PTElement tree = ai_parseBottomUpToTree(parser, s);
  ai_printParseTree(tree);
  parser.printWordsAndGroups();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017482
Snippet name: Test Bottom-Up Parser with n-token hygiene [forget it]
Eternal ID of this version: #1017482/4
Text MD5: 545af421555761d7810196acb8ca46a2
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-23 22:01:04
Source code size: 316 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 549
Version history: 3 change(s)
Referenced in: [show references]