code: def _chinese_pinyin_to_phoneme(pinyin: str) -> str:
      segment = pinyin[:-1]
      tone = pinyin[-1]
      phoneme = PINYIN_DICT.get(segment, [""])[0]
      return phoneme + tone
  
imports: from typing import List
  import jieba
  import pypinyin
  from .pinyinToPhonemes import PINYIN_DICT
label_desc: Use image node_id 2 for calling a global function with example usage: _chinese_pinyin_to_phoneme(pinyin) and returns: unknown