src/transformers/models/roc_bert/tokenization_roc_bert.py/RoCBertTokenizer/convert_tokens_to_pronunciation_ids
class RoCBertTokenizer:    def convert_tokens_to_pronunciation_ids(self, tokens: Union[str, List[str]]) -> Union[int, List[int]]:
        if tokens is None:
            return None

        ids = []
        for token in tokens:
            ids.append(self._convert_token_to_pronunciation_id(token))
        return ids