class_docstr: Base class for text encoders.
  Translates raw texts into structured token arrays
class_docstr_tok: ["Base","class","for","text","encoders",".","Translates","raw","texts","into","structured","token","arrays"]
code: def __setstate__(self, state):
      self.__init__()
  
imports: import warnings
  import functools
  from collections import namedtuple, Counter, OrderedDict
  import spacy
  import numpy
label_desc: Use image node_id 10 for calling the BaseEncoder obj's underlying member method code with example usage: obj.__setstate__(state) without return types