pan> <span class="o">-&gt;</span> <span class="n">Union</span><span class="p">[</span><span class="n">List</span><span class="p">,</span> <span class="nb">str</span><span class="p">]:</span>
        <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Conduct grapheme to phoneme conversion</span>

<span class="sd">        Args:</span>
<span class="sd">            text (str): input sentence to be converted to phoneme</span>
<span class="sd">            align (bool): whether to align the result