public static function structMessage(array $meaning):string
    {
        $str = "";
        if (empty($meaning)) {
            return "";
        }
        foreach ($meaning as $one) {
            $str .= "  ".$one."\n\n";
        }
        $str = "Did you mean one of these ? :\n\n".$str;
        return ($str);
    }
public static function structMessage(array $meaning):string
    {
        $str = "";
        if (empty($meaning)) {
            return "";
        }
        foreach ($meaning as $one) {
            $str .= "  ".$one."\n\n";
        }
        $str = "Did you mean one of these ? :\n\n".$str;
        return ($str);
    }
public static function structMessage ( array $ meaning ) : string { $ str = "" ; if ( empty ( $ meaning ) ) { return "" ; } foreach ( $ meaning as $ one ) { $ str .= "  " . $ one . "\n\n" ; } $ str = "Did you mean one of these ? :\n\n" . $ str ; return ( $ str ) ; }
Struct message with "Did you mean" message
@param array $meaning predictive result
@return string
Struct message with Did you mean message