<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(s, delimiter='', format="diacritical"):
 """Return pinyin of string, the string must be unicode """

    return delimiter.join(_pinyin_generator(u(s), format=format))