class_docstr: Implements the *TextRank* algorithm defined by
  [[mihalcea04textrank]](https://derwen.ai/docs/ptr/biblio/#mihalcea04textrank),
  deployed as a `spaCy` pipeline component.
  
  This class does not get called directly; instantiate its factory
  instead.
      
class_docstr_tok: ["Implements","the","*","TextRank","*","algorithm","defined","by","[","[","mihalcea04textrank","]","]","(","https",":","\/\/derwen.ai\/docs\/ptr\/biblio\/","#","mihalcea04textrank",")",",","deployed","as","a","`","spaCy","`","pipeline","component",".","This","class","does","not","get","called","directly",";","instantiate","its","factory","instead","."]
docstr: Get the *node weights* for initializing the use of the
  [*Personalized PageRank*](https://derwen.ai/docs/ptr/glossary/#personalized-pagerank)
  algorithm.
  
  Defaults to a no-op for the base *TextRank* algorithm.
  
      returns:
  `None`
          
code: def get_personalization(  # pylint: disable=R0201
      self,
  ) -> typing.Optional[typing.Dict[Lemma, float]]:
      """
      Get the *node weights* for initializing the use of the
      [*Personalized PageRank*](https://derwen.ai/docs/ptr/glossary/#personalized-pagerank)
      algorithm.
  
      Defaults to a no-op for the base *TextRank* algorithm.
  
          returns:
      `None`
      """
      return None
  
imports: from collections import Counter, defaultdict, OrderedDict
  from dataclasses import dataclass
  import json
  import math
  import pathlib
  import time
  import typing
  from icecream import ic
  from spacy.tokens import Doc, Span, Token
  import graphviz
  import networkx
  from .util import groupby_apply, default_scrubber
label_desc: Use image node_id 4 for calling the BaseTextRank obj's underlying member method code with example usage: obj.get_personalization() and returns: None