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

17
LINES

< > BotCompany Repo | #1017410 // Test English Simplifier

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

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

!7

sS correct = [[
Who
Who is boy
Who is nice boy
Who is this boy
Who is this nice boy
]];

p-exp {
  S s = "Who is this nice boy";
  PTElement root = ai_parseBottomUpToTree(s);
  L<S> l = asList(ai_parseTree_simplifiedTexts(root));
  pnl(l);
  assertEqualsVerbose(tlft(correct), trimAll(l));
}

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: #1017410
Snippet name: Test English Simplifier
Eternal ID of this version: #1017410/2
Text MD5: ef79e171a995cf5be8db67e6acbfff5b
Transpilation MD5: 10aca02c68e1a9839fffbb7335c25989
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-19 21:42:21
Source code size: 311 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 417 / 844
Version history: 1 change(s)
Referenced in: #1017415 - Test English Simplifier w/plausibility function (OK)