public static function getFuzzyTerms(string $term, $mode): array
    {
        $distance = self::getFuzzyDistance($term, $mode);
        if (1 === $distance) {
            return self::generateFuzzyTerms($term);
        }

        return self::generateFuzzyTermsTwice($term);
    }