Beispiel #1
0
 protected internal RelationType(string name, RelationType opposite, string[] partsOfSpeech)
 {
     mName          = name;
     mOpposite      = opposite;
     mPartsOfSpeech = partsOfSpeech;
 }
Beispiel #2
0
 protected internal Relation(WordNetEngine wordNetEngine, RelationType relationType, int targetSynsetOffset, string targetSynsetPartOfSpeech, int sourceWord, int targetWord) : this(wordNetEngine, relationType, targetSynsetOffset, targetSynsetPartOfSpeech)
 {
     miSourceWord = sourceWord;
     miTargetWord = targetWord;
 }