code: def _rebuild_suffixes(
      emoji_spec_url="http://www.unicode.org/Public/emoji/5.0/emoji-test.txt",
  ):
      valid_seqs = pd.DataFrame(
          pd.read_csv(
              emoji_spec_url,
              sep=";",
              comment="#",
              names=["code_points", "status"],
          )["code_points"].apply(
              lambda x: pd.Series(
                  {
                      "seq": [int(c, 16) for c in x.split()],
                      "len": len(x.split()),
                  }
              )
          )
      ).sort_values(by=["len"], ascending=False)["seq"]
      suffixes_construct = {}
      for x in valid_seqs:
          suffix = tuple(x[1:])
          suffix_holder = suffixes_construct.setdefault(x[0], {})
          suffix_set = suffix_holder.setdefault(len(suffix), set())
          suffix_set.add(suffix)
      for k, v in suffixes_construct.items():
          suffixes_construct[k] = list(reversed(sorted(v.items())))
      return suffixes_construct
  
imports: import pandas
  from scattertext.emojis.ProcessedEmojiStructure import VALID_EMOJIS
label_desc: Use image node_id 1 for calling a global function with example usage: _rebuild_suffixes(emoji_spec_url) and returns: suffixes_construct