class_docstr: Records progress through the set of constraints for each item in the beam
  using a trie.
class_docstr_tok: ["Records","progress","through","the","set","of","constraints","for","each","item","in","the","beam","using","a","trie","."]
code: def __copy__(self):
      copied_state = UnorderedConstraintState(self.node, copy_from=self)
      return copied_state
  
imports: from collections import Counter
  from typing import List, Optional, Set, Tuple
  import torch
label_desc: Use image node_id 4 for calling the UnorderedConstraintState obj's underlying member method code with example usage: obj.__copy__() and returns: copied_state