public void DeletePertainer(WordSense existingPertainer) { if (WordNetData.Context.DeletePertainymyRelation(existingPertainer.SynsetID, existingPertainer.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Pertainers"); existingPertainer.SendPropertyChanged("PertainsTo"); } }
public void DeleteSeeAlso(WordSense existingSeeAlso) { if (WordNetData.Context.DeleteSeeAlsoWordSenseRelation(existingSeeAlso.SynsetID, existingSeeAlso.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("SeeAlso"); existingSeeAlso.SendPropertyChanged("SeeAlso"); } }
public void AddPertainer(WordSense newPertainer) { if (WordNetData.Context.AddPertainymyRelation(newPertainer.SynsetID, newPertainer.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Pertainers"); newPertainer.SendPropertyChanged("PertainsTo"); } }
public void DeleteDerivation(WordSense existingDerivation) { if (WordNetData.Context.DeleteDerivationRelation(existingDerivation.SynsetID, existingDerivation.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Derivations"); existingDerivation.SendPropertyChanged("Derivations"); } }
public void AddSeeAlso(WordSense newSeeAlso) { if (WordNetData.Context.AddSeeAlsoWordSenseRelation(newSeeAlso.SynsetID, newSeeAlso.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("SeeAlso"); newSeeAlso.SendPropertyChanged("SeeAlso"); } }
public void AddDerivation(WordSense newDerivation) { if (WordNetData.Context.AddDerivationRelation(newDerivation.SynsetID, newDerivation.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Derivations"); newDerivation.SendPropertyChanged("Derivations"); } }
public void DeleteAntonym(WordSense existingAntonym) { if (WordNetData.Context.DeleteAntonymyRelation(existingAntonym.SynsetID, existingAntonym.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Antonyms"); existingAntonym.SendPropertyChanged("Antonyms"); } }
public void AddAntonym(WordSense newAntonym) { if (WordNetData.Context.AddAntonymyRelation(newAntonym.SynsetID, newAntonym.WordNumber, SynsetID, WordNumber).Equals(0)) { SendPropertyChanged("Antonyms"); newAntonym.SendPropertyChanged("Antonyms"); } }
public void DeleteParticipleForm(WordSense existingParticipleForm) { if (WordNetData.Context.DeleteParticipleRelation(SynsetID, WordNumber, existingParticipleForm.SynsetID, existingParticipleForm.WordNumber).Equals(0)) { SendPropertyChanged("ParticipleForms"); existingParticipleForm.SendPropertyChanged("BaseVerbFormsOfParticiple"); } }
public void AddParticipleForm(WordSense newParticipleForm) { if (WordNetData.Context.AddParticipleRelation(SynsetID, WordNumber, newParticipleForm.SynsetID, newParticipleForm.WordNumber).Equals(0)) { SendPropertyChanged("ParticipleForms"); newParticipleForm.SendPropertyChanged("BaseVerbFormsOfParticiple"); } }