code: def process_text(self, texts):
      voters = SequenceVoter.text_to_voters(texts)
  
      if self.optimize:
          SequenceVoter.select_voters(voters)
  
          if self.n_best > 0:
              actual_voters = voters[: self.n_best]
          else:
              actual_voters = voters
  
      else:
          actual_voters = voters
  
      inputs = [voter.text for voter in actual_voters]
  
      synclist = synchronize(inputs)
      return SequenceVoter.perform_vote(inputs, synclist, actual_voters)
  
file_path: calamari/calamari_ocr/ocr/voting/sequence_voter.py
imports: import numpy
  from calamari_ocr.ocr.dataset.textprocessors import synchronize
  from calamari_ocr.ocr.voting.voter import Voter
label_desc: Use image node_id 3 for calling the SequenceVoter obj's underlying member method code with example usage: obj.process_text(texts) and returns: SequenceVoter