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

7
LINES

< > BotCompany Repo | #1017313 // ai_renderParseResult

JavaX fragment (include)

static S ai_renderParseResult(ParseResult1 p) {
  ret p == null ? "-" : "[" + l(p.assumptions) + ", " + p.category + "] " 
    //+ joinNemptiesWithComma(ai_renderMatchWithQuestionMarks(p.assumptions), ai_renderMatch(p.matches))
    + ai_renderMatchesAndAssumptions(p)
    + " | pattern " + quote(joinWithSpace(p.pat))
    /*+ " for input "  + quote(joinWithSpace(p.input))*/;
}

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: #1017313
Snippet name: ai_renderParseResult
Eternal ID of this version: #1017313/4
Text MD5: e32f46708478594e1e23458f037c9137
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-16 17:07:06
Source code size: 385 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 247 / 284
Version history: 3 change(s)
Referenced in: [show references]