public void DeleteSeeAlso(Synset existingHyponym) { if (WordNetData.Context.DeleteSeeAlsoSynsetRelation(ID, existingHyponym.ID).Equals(0)) { SendPropertyChanged("SeeAlso"); existingHyponym.SendPropertyChanged("SeeAlso"); } }
public void DeleteHyponym(Synset existingHyponym) { if (WordNetData.Context.DeleteHyponymyRelation(ID, existingHyponym.ID).Equals(0)) { SendPropertyChanged("Hyponyms"); existingHyponym.SendPropertyChanged("Hypernyms"); } }
public void AddSeeAlso(Synset newSeeAlso) { if (WordNetData.Context.AddSeeAlsoSynsetRelation(ID, newSeeAlso.ID).Equals(0)) { SendPropertyChanged("SeeAlso"); newSeeAlso.SendPropertyChanged("SeeAlso"); } }
public void DeleteAttributeWithValue(Synset existingAttribute) { if (WordNetData.Context.DeleteAttributeRelation(existingAttribute.ID, ID).Equals(0)) { SendPropertyChanged("AttributesWithValue"); existingAttribute.SendPropertyChanged("ValuesOfAttribute"); } }
public void AddHyponym(Synset newHyponym) { if (WordNetData.Context.AddHyponymyRelation(ID, newHyponym.ID).Equals(0)) { SendPropertyChanged("Hyponyms"); newHyponym.SendPropertyChanged("Hypernyms"); } }
public void DeleteEntailed(Synset existingEntailed) { if (WordNetData.Context.DeleteEntailmentRelation(ID, existingEntailed.ID).Equals(0)) { SendPropertyChanged("Entails"); existingEntailed.SendPropertyChanged("IsEntailedBy"); } }
public void AddAttributeWithValue(Synset newAttribute) { if (WordNetData.Context.AddAttributeRelation(newAttribute.ID, ID).Equals(0)) { SendPropertyChanged("AttributesWithValue"); newAttribute.SendPropertyChanged("ValuesOfAttribute"); } }
public void DeleteCaused(Synset existingCaused) { if (WordNetData.Context.DeleteCausationRelation(ID, existingCaused.ID).Equals(0)) { SendPropertyChanged("IsCauseOf"); existingCaused.SendPropertyChanged("IsCausedBy"); } }
public void AddEntailed(Synset newEntailed) { if (WordNetData.Context.AddEntailmentRelation(ID, newEntailed.ID).Equals(0)) { SendPropertyChanged("Entails"); newEntailed.SendPropertyChanged("IsEntailedBy"); } }
public void AddCaused(Synset newCaused) { if (WordNetData.Context.AddCausationRelation(ID, newCaused.ID).Equals(0)) { SendPropertyChanged("IsCauseOf"); newCaused.SendPropertyChanged("IsCausedBy"); } }
public void DeleteInstance(Synset existingInstance) { if (WordNetData.Context.DeleteInstanceRelation(ID, existingInstance.ID).Equals(0)) { SendPropertyChanged("Instances"); existingInstance.SendPropertyChanged("Types"); } }
public void AddInstance(Synset newInstance) { if (WordNetData.Context.AddInstanceRelation(ID, newInstance.ID).Equals(0)) { SendPropertyChanged("Instances"); newInstance.SendPropertyChanged("Types"); } }
public void AddMeronym(Synset newMeronym, char meronymType) { if (WordNetData.Context.AddMeronymyRelation(ID, newMeronym.ID, meronymType).Equals(0)) { SendPropertyChanged("Meronyms"); newMeronym.SendPropertyChanged("Holonyms"); } }
public void DeleteHolonym(Synset existingHolonym) { if (WordNetData.Context.DeleteMeronymyRelation(existingHolonym.ID, ID).Equals(0)) { SendPropertyChanged("Holonyms"); existingHolonym.SendPropertyChanged("Meronyms"); } }