class_docstr: Python impl of TextRank by Milhacea, et al., as a spaCy extension,
  used to extract the top-ranked phrases from a text document
class_docstr_tok: ["Python","impl","of","TextRank","by","Milhacea",",","et","al.",",","as","a","spaCy","extension",",","used","to","extract","the","top-ranked","phrases","from","a","text","document"]
docstr: load a list of "stop words" that get ignored when constructing
  the lemma graph -- NB: be cautious when using this feature
docstr_tok: ["load","a","list","of","``","stop","words","''","that","get","ignored","when","constructing","the","lemma","graph","--","NB",":","be","cautious","when","using","this","feature"]
code: def load_stopwords(self, path="stop.json"):
      """
      load a list of "stop words" that get ignored when constructing
      the lemma graph -- NB: be cautious when using this feature
      """
      stop_path = None
  
      # check if the path is fully qualified, or if the file is in
      # the current working directory
  
      if os.path.isfile(path):
          stop_path = path
      else:
          cwd = os.getcwd()
          stop_path = os.path.join(cwd, path)
  
          if not os.path.isfile(stop_path):
              loc = os.path.realpath(
                  os.path.join(cwd, os.path.dirname(__file__))
              )
              stop_path = os.path.join(loc, path)
  
      try:
          with open(stop_path, "r") as f:
              data = json.load(f)
  
              for lemma, pos_list in data.items():
                  self.stopwords[lemma] = pos_list
      except FileNotFoundError:
          pass
  
imports: from .base import BaseTextRank
  from .positionrank import PositionRank
  from collections import defaultdict, OrderedDict
  from math import sqrt
  from spacy.tokens import Doc
  import graphviz
  import json
  import logging
  import networkx
  import os
  import os.path
  import re
  import spacy
  import string
  import sys
  import time
  import unicodedata
label_desc: Use image node_id 4 for calling the TextRank obj's underlying member method code with example usage: obj.load_stopwords(path) without return types