code: def related_algos(algo_doc):
      lines = []
      if (
          algo_doc["mode"] == "standard mode"
          and algo_doc["name"] in streaming_algo_list
      ):
          lines.append(algo_link(algo_doc["name"], "streaming"))
      elif (
          algo_doc["mode"] == "streaming mode"
          and algo_doc["name"] in std_algo_list
      ):
          lines.append(algo_link(algo_doc["name"], "standard"))
  
      lines += [
          algo_link(a, "standard")
          for a in std_algo_list
          if a != algo_doc["name"] and algo_doc["description"].count(a)
      ]
  
      lines += [
          algo_link(a, "streaming")
          for a in streaming_algo_list
          if a != algo_doc["name"] and algo_doc["description"].count(a)
      ]
  
      if lines:
          return ["See also", "--------", "", "\n".join(sorted(lines))]
      return []
  
file_path: essentia/doc/sphinxdoc/generate_reference.py
imports: import essentia.standard
  import essentia.streaming
  import os, re, subprocess
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: related_algos(algo_doc) and returns: list, list