package OT; /** * Represents phonological foot node. * @version 1998-11-22 * @author Andrea Heiberg, University of Arizona */ public class Foot extends ProsodicNode { public Foot (String token) { super(token); } //end constructor public String toString () { return "foot(" + super.token + ")"; } //end toString /** Returns a new Foot with the same token identifer and head as this Foot. **/ public Foot copy () { Foot f = new Foot(token); f.head = head; return f; } //end copy } //end class