class_docstr: Produces labels for BROS.
  
  First set of labels is a binary value indicating whether a token is the
  start of a group. Second set of labels is a index indicating what the next
  token in the group is.
class_docstr_tok: ["Produces","labels","for","BROS.","First","set","of","labels","is","a","binary","value","indicating","whether","a","token","is","the","start","of","a","group",".","Second","set","of","labels","is","a","index","indicating","what","the","next","token","in","the","group","is","."]
code: def __init__(self, pad_token):
      self.classes_ = None
      self.pad_token = pad_token
      self.lookup = None
  
imports: from abc import ABCMeta
  import logging
  import json
  import numpy
  from finetune.encoding.target_encoders import BaseEncoder, Seq2SeqLabelEncoder, SequenceLabelingEncoder
label_desc: Use image node_id 1 to create a new BROSEncoder object from inherited base classes: BaseEncoder with example: obj = BROSEncoder(pad_token)