code: def parse_stop_word(source: str) -> set[str]:
      """
      Parse snowball style word list like this:
  
      * https://snowball.tartarus.org/algorithms/finnish/stop.txt
      """
      result: set[str] = set()
      for line in source.splitlines():
          line = line.split("|")[0]  # remove comment
          result.update(line.split())
      return result
  
imports: from __future__ import annotations
  import dataclasses
  import functools
  import html
  import json
  import pickle
  import re
  from importlib import import_module
  from os import path
  from typing import IO, TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.nodes import Element, Node
  from sphinx import addnodes, package_dir
  from sphinx.environment import BuildEnvironment
  from sphinx.util.index_entries import split_index_msg
  from sphinx.search.en import SearchEnglish
label_desc: Use image node_id 1 for calling a global function with example usage: parse_stop_word(source) and returns: result