class_docstr: BytePairEncoder trains byte pair encoding and
  encodes words using trained encoding
class_docstr_tok: ["BytePairEncoder","trains","byte","pair","encoding","and","encodes","words","using","trained","encoding"]
docstr: Returns the number of tokens in dictionary.
  :rtype: int.
docstr_tok: ["Returns","the","number","of","tokens","in","dictionary",".",":","rtype",":","int","."]
code: def size(self) -> int:
      """Returns the number of tokens in dictionary.
      :rtype: int.
      """
      return self._internal.get_size()
  
file_path: neoml/NeoML/Python/neoml/BytePairEncoder.py
imports: import neoml.PythonWrapper
  import typing
label_desc: Use image node_id 7 for calling the BytePairEncoder obj's underlying member method code with example usage: obj.size() and returns: self