Warning: session_start(): open(/var/lib/php/sessions/sess_39uhcofejoq1q2k6g5smbs1m4o, 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
!7
sS data = [[
User: Today I bought a {Big Mac} for 1 €
Bot: Wow... that's cheap! Usually they cost like... how much?
User: 5 €
Bot: Yes, yes. So that's 80% off!
---- Test
User: Today I bought a car for 50 €
Bot: Wow... that's cheap! Usually they cost like... how much?
User: 5000 €
Bot: Yes, yes. So that's 99% off!
]];
p-exp {
SS sections = minusSignSections(data);
F1 tokenize = f javaTokWithBrackets;
LPair pairs = assertNotNull(zipTwoLists_strict(
tlft(sections.get("")),
tlft(sections.get("Test"))));
pnl(pairs);
for (PairS p : pairs) {
LS tokA = callF(tokenize, p.a), tokB = callF(tokenize, p.b);
if (l(tokA) != l(tokB))
continue with print("Mismatched token count, skipping: " + p);
SS map = gazelle_zipTwoTokenizationsToMap(tokA, tokB);
printIndent(map);
}
}