class_docstr: Holds highlighted spans for parts of document - a DocWeightedSpans
  object for each vectorizer, and other features not highlighted anywhere.
class_docstr_tok: ["Holds","highlighted","spans","for","parts","of","document","-","a","DocWeightedSpans","object","for","each","vectorizer",",","and","other","features","not","highlighted","anywhere","."]
code: def __init__(
      self,
      docs_weighted_spans,  # type: List[DocWeightedSpans]
      other=None,  # type: FeatureWeights
  ):
      # type: (...) -> None
      self.docs_weighted_spans = docs_weighted_spans
      self.other = other
  
imports: from typing import Any, List, Tuple, Union, Optional
  import numpy
  from .base_utils import attrs
  from .formatters.features import FormattedFeatureName
label_desc: Use image node_id 1 to create a new WeightedSpans object from inherited base classes: object with example: obj = WeightedSpans(docs_weighted_spans, other)