def METHOD_NAME(self, text: str, separator: str = "|", tie=False) -> str:  # pylint: disable=unused-argument
    """Convert input text to phonemes.
    Gruut phonemizes the given `str` by seperating each phoneme character with `separator`, even for characters
    that constitude a single sound.
    It doesn't affect 🐸TTS since it individually converts each character to token IDs.
    Examples::
        "hello how are you today?" -> `h|ɛ|l|o|ʊ| h|a|ʊ| ɑ|ɹ| j|u| t|ə|d|e|ɪ`
    Args:
        text (str):
            Text to be converted to phonemes.
        tie (bool, optional) : When True use a '͡' character between
            consecutive characters of a single phoneme. Else separate phoneme
            with '_'. This option requires espeak>=1.49. Default to False.
    """
    ph_list = []
    for sentence in gruut.sentences(text, lang=self.language, espeak=self.use_espeak_phonemes):
        for word in sentence:
            if word.is_break:
                # Use actual character for break phoneme (e.g., comma)
                if ph_list:
                    # Join with previous word
                    ph_list[-1].append(word.text)
                else:
                    # First word is punctuation
                    ph_list.append([word.text])
            elif word.phonemes:
                # Add phonemes for word
                word_phonemes = []
                for word_phoneme in word.phonemes:
                    if not self.keep_stress:
                        # Remove primary/secondary stress
                        word_phoneme = IPA.without_stress(word_phoneme)
                    word_phoneme = word_phoneme.translate(GRUUT_TRANS_TABLE)
                    if word_phoneme:
                        # Flatten phonemes
                        word_phonemes.extend(word_phoneme)
                if word_phonemes:
                    ph_list.append(word_phonemes)
    ph_words = [separator.join(word_phonemes) for word_phonemes in ph_list]
    ph = f"{separator} ".join(ph_words)
    return ph