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).

!7

p-exp {
  S sentence = "In the movies Dracula always wears a cape";
  new AI_BottomUpParser1 parser;
  parser.parse(sentence);
  parser.printWordsAndGroups();
  parser.printConstituentsOfFullGroup();
  assertTrue(contains(print(parser.fullClasses()), "<sentence>"));
  
  AI_BottomUpParser1.Word group = first(parser.fullGroups());
  ai_buParser1_reconstructGrouping(parser, group, "<sentence_or_question>");
}

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: 306 / 653
Version history: 3 change(s)
Referenced in: [show references]