Libraryless. Click here for Pure Java version (7992L/53K).
1 | sS directProbabilisticParse(S pattern, S rewritten, S input, O... _) { |
2 | optPar RecursiveProbabilisticParser1 parser = new; |
3 | parser.starsAreWildcards = true; |
4 | ret first(recursiveProbabilisticParse("sentence => " + quote(pattern) + " => " + rewritten, "sentence", input, paramsPlus(_, +parser))); |
5 | } |
Began life as a copy of #1027995
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: | #1028009 |
Snippet name: | directProbabilisticParse - probabilistic parse of one sentence with one pattern [dev.] |
Eternal ID of this version: | #1028009/4 |
Text MD5: | 7b2daac21052e8ee3f68ef589722ab6f |
Transpilation MD5: | 0c499db99e7ce38f11eba85055d1fcfa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-02 22:57:23 |
Source code size: | 303 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 325 |
Version history: | 3 change(s) |
Referenced in: | [show references] |