Libraryless. Click here for Pure Java version (18584L/134K).
!7 sclass EnglishParser > DynPrintLogWithInput { transient Pair<S, L<ParseResult1>> lastResults; start { dm_useLocallyCopiedMechLists(); // In case lists change doEvery(5000, r { update(inputChooser.input()) }); } void update(S s) { temp enter(); L<S> tokInput = javaTokWithAngleBracketsC(s); L<ParseResult1> results = ai_parser1_multipleCategories(s, mL("English parser top categories")); S rendered = ai_renderParseResults(results); bool shouldPrint = lastResults == null || neq(rendered, ai_renderParseResults(lastResults.b)); lastResults = pair(s, results); if (shouldPrint) print("\n> " + s + "\n" + sfu(tokInput) + "\n" + rendered); } }
Began life as a copy of #1017297
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: | #1017311 |
| Snippet name: | English Parser v7 (OK) |
| Eternal ID of this version: | #1017311/20 |
| Text MD5: | 09b1b3caf383a67864be09e049a37009 |
| Transpilation MD5: | 88c0c682f9a944d31138f0a902d1814f |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-17 16:59:53 |
| Source code size: | 727 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 897 / 1557 |
| Version history: | 19 change(s) |
| Referenced in: | [show references] |