private function getTokens(string $word): array
    {
        $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;

        return (array) preg_split(self::TOKEN_DELIMITER, $word, -1, $flags);
    }