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

13
LINES

< > BotCompany Repo | #1017367 // Test ai_buParser1_reconstructGrouping (seems to work)

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9880L/70K).

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  
  
11  
  AI_BottomUpParser1.Word group = first(parser.fullGroups());
12  
  ai_buParser1_reconstructGrouping(parser, group, "<sentence_or_question>");
13  
}

Author comment

Began life as a copy of #1017353

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: #1017367
Snippet name: Test ai_buParser1_reconstructGrouping (seems to work)
Eternal ID of this version: #1017367/4
Text MD5: 1a86779761cf284042886e660c14b816
Transpilation MD5: efd196970a216a3043dca264cc48fef1
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-18 14:04:14
Source code size: 426 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 319 / 677
Version history: 3 change(s)
Referenced in: [show references]