docs: def fixminimized(self, alphabet):
          """
          After pyfst minimization,
          all unused arcs are removed,
          and all sink states are removed.
          However this may break compatibility.
          Args:
              alphabet (list): The input alphabet
          Returns:
              None
          """
          endstate = len(list(self.states))
          for state in self.states:
              for char in alphabet:
                  found = 0
                  for arc in state.arcs:
                      if self.isyms.find(arc.ilabel) == char:
                          found = 1
                          break
                  if found == 0:
                      self.add_arc(state.stateid, endstate, char)
  
          self[endstate].final = TropicalWeight(float('inf'))
  
          for char in alphabet:
              self.add_arc(endstate, endstate, char)