class_docstr: Component that chooses a candidate with highest base probability for every token
  
      
code: def __init__(self, *args, **kwargs):
      pass
  
file_path: DeepPavlov/deeppavlov/models/spelling_correction/electors/top1_elector.py
imports: from logging import getLogger
  from typing import List, Tuple
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
label_desc: Use image node_id 1 to create a new TopOneElector object from inherited base classes: Component with example: obj = TopOneElector()