code: def tcc_pos(text: str) -> Set[int]:
      
      if not text or not isinstance(text, str):
          return set()
  
      p_set = set()
      p = 0
      for w in tcc(text):
          p += len(w)
          p_set.add(p)
  
      return p_set
docs: TCC positions
      :param str text: text to be tokenized to character clusters
      :return: list of the end of subwords