static PTElement ai_parseBottomUpToTree_as(S input, S category) { final new AI_BottomUpParser1 parser; parser.parse(input); AI_BottomUpParser1.Word w = parser.fullGroup(); if (w == null) null; if (!contains(w.classes, category)) null; ret ai_completeParseTree(parser, HaveCategory(w, category)); }
Began life as a copy of #1017403
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: | #1017449 |
Snippet name: | ai_parseBottomUpToTree_as - with fixed top category |
Eternal ID of this version: | #1017449/1 |
Text MD5: | f44a5477194ca0dc2a6e6a5fb316a359 |
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-22 12:38:03 |
Source code size: | 316 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 343 / 378 |
Referenced in: | [show references] |