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: initialize the data structures needed for extracting phrases
  removing any state
docstr_tok: ["initialize","the","data","structures","needed","for","extracting","phrases","removing","any","state"]
code: def reset(self):
      """
      initialize the data structures needed for extracting phrases
      removing any state
      """
      self.elapsed_time = 0.0
      self.lemma_graph = nx.Graph()
      self.phrases = defaultdict(list)
      self.ranks = {}
      self.seen_lemma = OrderedDict()
  
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 3 for calling the TextRank obj's underlying member method code with example usage: obj.reset() without return types