Libraryless. Click here for Pure Java version (7869L/52K).
// returns list of parsed sentences with round brackets static LS recursiveProbabilisticParse(S productions, S sentenceClass, S input, O... _) { optPar RecursiveProbabilisticParser1 parser = new RecursiveProbabilisticParser1; parser.sentenceClass = sentenceClass; parser.productionsStartWithClass = true; parser.loadRules(productions); parser.useRoundBrackets = true; ret parser.parse(input); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027995 |
Snippet name: | recursiveProbabilisticParse |
Eternal ID of this version: | #1027995/5 |
Text MD5: | 927be037a25c4d466e10b5d7b03f37ef |
Transpilation MD5: | d9508ccc3bb9f2c98ecf7350191b4db7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-26 14:17:48 |
Source code size: | 414 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 250 / 397 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028009 - directProbabilisticParse - probabilistic parse of one sentence with one pattern [dev.] |