def _phonetic_number(self, phonetic):
if '<STR_LIT:[>' in phonetic:<EOL><INDENT>return phonetic[: phonetic.find('<STR_LIT:[>')]<EOL><DEDENT>return phonetic<EOL>
Remove bracketed text from the end of a string.

        Parameters
        ----------
        phonetic : str
            A Beider-Morse phonetic encoding

        Returns
        -------
        str
            A Beider-Morse phonetic code