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 _token_length(self, token):
      return len(token)
  
imports: import warnings
  import functools
  from collections import namedtuple, Counter, OrderedDict
  import spacy
  import numpy
label_desc: Use image node_id 8 for calling the BaseEncoder obj's underlying member method code with example usage: obj._token_length(token) and returns: len