Warning: session_start(): open(/var/lib/php/sessions/sess_ha4inscvcr8t63h4vc5uq5l2cv, 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
sS ai_verbalizeAnalysisMultiMap(Map> map) {
if (map == null) null;
if (empty(map)) ret "Map empty";
if (l(map) == 1) ret "Only a single feature value (" + firstKey(map) + ")";
bool disjoint = allMultiSetsDisjoint(values(map));
if (allMultiSetsAreSingletons(values(map)))
ret "Feature success! " + sfu(mapValues(f first, map));
new Map singletons;
for (O key, MultiSet value : map) { if (value.uniqueSize() == 1) singletons.put(key, first(keys(value))); }
if (nempty(singletons)) ret "Clear feature values: " + sfu(singletons);
if (disjoint) ret "No feature overlap";
ret "Feature results inconclusive";
}