code: def methodNameAndStyle(methodName):
      methodName = methodName.strip().lower()
      if startsWith(methodName, "vptree"):
          return ("vp-tree", "mark=*")
      if (
          methodName == "permutation  incr  sorting"
          or methodName == "projection  perm  incr  sorting"
      ):
          return ("brute-force filt.", "mark=x")
      if methodName == "binarized permutation  vptree":
          return ("perm. bin. vptree", "mark=+")
      if methodName == "permutation  pref  index":
          return ("PP-index", "mark=text")
      if (
          methodName == "permutation  vptree"
          or methodName == "projection  vptree"
      ):
          return ("proj. vptree", "mark=diamond*")
      if methodName == "small world rand":
          return ("kNN-graph (SmallWorld)", "mark=o")
      if startsWith(methodName, "nndescentmethod method"):
          return ("kNN-graph (NN-desc)", "mark=oplus*")
      if (
          methodName
          == "permutation  inverted index over neighboring pivots"
      ):
          return ("NAPP", "mark=triangle")
      if methodName == "multiprobe lsh":
          return ("MPLSH", "mark=triangle*")
      if methodName.find("copies of") >= 0:
          return (methodName.strip(), "mark=square")
      if methodName == "bbtree":
          return (methodName.strip(), "mark=square*")
      if methodName == "list of clusters":
          return ("list. clust.", "mark=diamond")
      if methodName == "ghtree":
          return ("gh-tree", "mark=diamond*")
      if methodName == "mvp tree":
          return ("mvp-tree", "mark=oplus")
      if methodName == "satree":
          return ("sa-tree", "mark=otimes")
      if methodName == "lsh":
          return ("LSH", "mark=otimes*")
      if methodName == "permutation  inverted index":
          return ("MI-file", "mark=asterisk")
      if methodName == "permutation binarized  incr  sorting":
          return ("brute-force filt. bin.", "mark=pentagon")
      if methodName == "sequential search":
          return ("brute force", "mark=pentagon*")
      print >> sys.stderr, "Does not know how to rename the method '" + methodName + "'"
      exit(1)
  
file_path: nmslib/previous_releases_scripts/genplot.py
imports: import argparse
  import os
  import re
  import sys
  import itertools
  import re
  from subprocess import call
label_desc: Use image node_id 10 for calling a global function with example usage: methodNameAndStyle(methodName) and returns: str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, methodName,  str, methodName,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str, str,  str