Warning: session_start(): open(/var/lib/php/sessions/sess_r05q22f9jg9dom3iq27h8u68ri, 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;
int minLength = 2;
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); }
public LS get() { run(); ret super.get(); }
}
static LS sharedPhrases_characterMode(S... strings) {
ret new SharedPhrases_characterMode(strings)!;
}