Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

150
LINES

< > BotCompany Repo | #1027974 // RecursiveProbabilisticParser1

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7911L/54K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_433at5jatdl55lth0f7v080cj9, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000415":"\"set\" function (set field by reflection)","1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000810":"join function + array version","1001135":"isQuoted - now accurate by default","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001735":"unquote - opposite of quote. also takes single quoted strings","1002133":"jreplace","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003336":"listPlus - list plus more elements","1005162":"second function (get second element)","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006330":"third - get third element from a list","1007642":"even - is a number even?","1007652":"splitIntoSentences","1007669":"addIfNempty - synonym of addIfNonEmpty","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1009540":"tlft_j - synonym of toLinesFullTrim_java - also drop Java comments","1011096":"litciset - make case-insensitive set","1011740":"splitAtSlash_keepAll","1011809":"ciMap - synonym of caseInsensitiveMap","1011989":"splitAtDoubleArrow - javaTok and split at \"=>\" (and trim)","1013120":"asCISet - synonym of toCaseInsensitiveSet","1013236":"isAngleBracketed","1014061":"deAngleBracket","1014541":"mapCodeTokens - keeps N tokens as they are","1014573":"expandDollarRefsToMatches_alwaysQuote","1018094":"javaTokNoQuotes - synonym of quotelessJavaTok","1019459":"isBetween (inclusive)","1023649":"objectsWhereIC","1024542":"printVars_str - print a bunch of vars (don't use struct)","1025592":"tok_deRoundBracket","1026014":"lambdaMap - map function with lambdaMapLike","1027129":"mapWithIndex","1027753":"BasicLogicRule","1027886":"formatFrag - synonym of formatWithFragmentsAndDollarSymVars","1027922":"makeAnd - construct chain of And(...) objects","1027944":"ProbabilisticParser1 (shortened, LIVE)","1027945":"javaTokWithAllPlusAngleBrackets","1027947":"replaceWithNothing","1027949":"tok_combineSpacelessSlashCombos","1027953":"containsSlash","1027959":"indicesOfQuoted","1027960":"objectsWhereNotIC","1027962":"translatePhrases - synonym of translateUsingPhraseMap","1027974":"RecursiveProbabilisticParser1","1027976":"tok_unquote - really proper unquote","1027978":"recursiveQuotesToRoundBrackets","1028003":"sentences_dropExclam","1028212":"nProductions"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

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: #1027974
Snippet name: RecursiveProbabilisticParser1
Eternal ID of this version: #1027974/55
Text MD5: e22c09a59a5ab687fa82484bf7f01c3f
Transpilation MD5: 84ebf4f7243cfed0b5e445ce09375d25
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-26 14:26:48
Source code size: 5664 bytes / 150 lines
Pitched / IR pitched: No / No
Views / Downloads: 746 / 1378
Version history: 54 change(s)
Referenced in: [show references]