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

11
LINES

< > BotCompany Repo | #1017353 // Test AI_BottomUpParser1 (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (13762L/97K).

1  
!7
2  
3  
p-exp {
4  
  S sentence = "In the movies Dracula always wears a cape";
5  
  new AI_BottomUpParser1 parser;
6  
  parser.parse(sentence);
7  
  parser.printWordsAndGroups();
8  
  parser.printConstituentsOfFullGroup();
9  
  assertTrue(contains(print(parser.fullClasses()), "<sentence>"));
10  
  print("OK");
11  
}

Author comment

Began life as a copy of #1017348

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017353
Snippet name: Test AI_BottomUpParser1 (OK)
Eternal ID of this version: #1017353/8
Text MD5: d905228697244faf0c5a37f79275ca16
Transpilation MD5: 5c2d04d8c3b39aad1d4fe4ca2dbc5059
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-22 13:19:50
Source code size: 297 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 1152
Version history: 7 change(s)
Referenced in: [show references]