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