this.label == other.label && this.headWord.equals(other.headWord));
this.label == other.label && this.headWord.equals(other.headWord) && this.containsVerb() == other.containsVerb());
  public boolean equals(Object obj) {    if (this == obj)      return true;    if (!(obj instanceof CKYItem))      return false;    CKYItem other = (CKYItem)obj;    if (this.label != topSym && stop && other.stop) {      return (this.isPreterminal() == other.isPreterminal() &&              this.label == other.label &&              this.headWord.equals(other.headWord));    }    else {      return (this.isPreterminal() == other.isPreterminal() &&              this.stop == other.stop &&  	      this.leftVerb == other.leftVerb &&              this.rightVerb == other.rightVerb &&   	      this.label == other.label &&              this.headWord.equals(other.headWord) &&              this.headLabel() == other.headLabel() &&  	      this.leftPrevMods.equals(other.leftPrevMods) &&              this.rightPrevMods.equals(other.rightPrevMods) &&              this.leftSubcat.equals(other.leftSubcat) &&              this.rightSubcat.equals(other.rightSubcat));    }  }