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

17
LINES

< > BotCompany Repo | #1012393 // Parse AI Test Questions

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

Download Jar. Libraryless. Click here for Pure Java version (7206L/49K).

1  
!7
2  
3  
p {
4  
  autoRestart(5);
5  
  S data = loadSnippetWithAutoRestart(#1012390);
6  
  new Scorer scorer;
7  
  for (Pair<S> p : listToPairs(tlft_j(data))) {
8  
    print(p.a);
9  
    L<S> options = splitAtJavaToken(p.b, "|");
10  
    L<T3<S>> expected = map ai_parseTriple(options);
11  
    T3<S> have = ai_tripelize(p.a);
12  
    print("  " + ai_renderTriple(have));
13  
    //assertTripleEqicVerbose_multi(scorer, expected, have);
14  
  }
15  
  //scorer.print();
16  
  //setConsoleTitle(str(scorer) + " - Parse AI Test Questions");
17  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012393
Snippet name: Parse AI Test Questions
Eternal ID of this version: #1012393/1
Text MD5: 0929f70ba6c45e4da00cfbbae4bd692b
Transpilation MD5: ab7d436f897a58e4cb3f5488ff4b9c75
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-30 01:14:50
Source code size: 504 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 500 / 9548
Referenced in: [show references]