def pinyin_to_ipa(s):
return _convert(s, zhon.pinyin.syllable, pinyin_syllable_to_ipa,<EOL>remove_apostrophes=True, separate_syllables=True)<EOL>
Convert all Pinyin syllables in *s* to IPA.

    Spaces are added between connected syllables and syllable-separating
    apostrophes are removed.