docs: def init_from_acceptor(self, acceptor):
          """
          Adds a sink state
          Args:
              alphabet (list): The input alphabet
          Returns:
              None
          """
          states = sorted(
              acceptor.states,
              key=attrgetter('initial'),
              reverse=True)
          for state in states:
              for arc in state.arcs:
                  itext = acceptor.isyms.find(arc.ilabel)
                  if itext in self.alphabet:
                      self.add_arc(state.stateid, arc.nextstate, itext)
              if state.final:
                  self[state.stateid].final = True
              if state.initial:
                  self[state.stateid].initial = True