Warning: session_start(): open(/var/lib/php/sessions/sess_rdkb9ck6lil2og6eqr870jpiqo, 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
set flag AllowMetaCode.
meta-transform { tok_andVarMixIn }
meta-transform { tok_stages }
sclass SharedPhrases_characterMode extends Stages & Var {
//*(S...|Cl strings) { addAll(this.strings, strings); }
*(S... strings) { addAll(this.strings, strings); }
*(Cl strings) { addAll(this.strings, strings); }
new LS strings;
LLS lineSplits;
CISet ci;
LS out;
// stage 1. split all the lines
stage { lineSplits = stringsToLineCompSplits(strings); }
// stage 2. find similarities
stage { ci = intersectCISets(lineSplits); }
// stage 3. forget the one letter stuff and sort by length (LONG first of course)
stage { out = longStrings(ci, minLength); }
}
static LS sharedPhrases_characterMode(S... strings) {
ret new SharedPhrases_characterMode(strings)!;
}