\mainlanguage[cn]

\registerctxluafile{sort-imp-cn}{}

\usetransliteration[cn]

\definetransliteration
    [MyChinese]
    [color=blue,
     vector={hanyu to pinlu}]

\starttext

    \definedfont[name:adobesongstdlight]

    test 词语拼音数据 \index{词语拼音数据}\par
    test 据词语拼音数 \index{据词语拼音数}\par
    test 数据词语拼音 \index{数据词语拼音}\par

    \blank

    \starttransliteration[MyChinese]
        \tf
        词语拼音数据
        据词语拼音数
        数据词语拼音
    \stoptransliteration

    \placeregister
      [index]
      [n=1,indicator=no]

    \placeregister
      [index]
      [language=cn-hanzi,n=1]

    \starttransliteration[MyChinese]
        \tf
        \placeregister
          [index]
          [language=cn-hanzi,n=1,inbetween=]
    \stoptransliteration

\stoptext

