Libraryless. Click here for Pure Java version (18837L/138K).
!7 sclass BottomUpParser > DynPrintLogWithInput { transient S lastOutput; start { dm_useLocallyCopiedMechLists(); // In case lists change doEvery(5000, r { update(inputChooser.input()) }); } void update(S s) { temp enter(); ai_setLanguage("German"); final new AI_BottomUpParser1 parser; parser.parse(s); S rendered = hijackPrint(r { parser.printWordsAndGroups(); parser.printConstituentsOfFullGroup(); }); bool shouldPrint = neq(rendered, lastOutput); lastOutput = rendered; if (shouldPrint) print("\n> " + s + "\n" + rendered); } }
Began life as a copy of #1017355
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: | #1017365 |
| Snippet name: | German Bottom-Up Parser v1 |
| Eternal ID of this version: | #1017365/1 |
| Text MD5: | dfd626b1c299c062c05f23fbb71633f0 |
| Transpilation MD5: | 30d51bb50204cc72a48d1eaf791464fd |
| 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-19 15:08:25 |
| Source code size: | 651 bytes / 29 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 657 / 1257 |
| Referenced in: | [show references] |