Exemple #1
0
bool TStatusTransition::operator== (const TransitionUnit& tright) const {
  if ( (type() == tright.type())  
       && (compareTStatus((static_cast<const TStatusTransition&>(tright).status())))) {
    return compareProperties(tright);
  }
  else { 
    return false; 
  }
}
bool DeaccentuatedTransition::operator== (const TransitionUnit& t) const {
  if (type() == t.type() && 
      m_deaccentuatedForm == 
      static_cast<const DeaccentuatedTransition&>(t).
      getDeaccentuatedForm()) {
    return compareProperties(t);
  }
  return false;
}
bool EntityGroupTransition::operator== (const TransitionUnit& tright) const {
  if ( (type() == tright.type())
       && (m_entityGroupId == static_cast<const EntityGroupTransition&>(tright).entityGroupId())
       ) {
    return true;
  }
  else {
    return false;
  }
}
Exemple #4
0
bool LemmaTransition::operator== (const TransitionUnit& tright) const {
  if (type() == tright.type()) {
    const LemmaTransition& other=
      static_cast<const LemmaTransition&>(tright);
    if (m_lemma == other.lemma() && m_pos == other.partOfSpeech()) {
      return compareProperties(tright);
    }
  }
  return false;
}
Exemple #5
0
bool WordTransition::operator== (const TransitionUnit& tright) const {
  if ( (type() == tright.type())
       && (m_word == static_cast<const WordTransition&>(tright).word())
       ) {
    return compareProperties(tright);
  }
  else {
    return false;
  }
}
Exemple #6
0
bool EntityTransition::operator== (const TransitionUnit& tright) const {
  if ( (type() == tright.type())
       && (m_entityType == static_cast<const EntityTransition&>(tright).entityType())
       ) {
    return compareProperties(tright);
  }
  else {
    return false;
  }
}
Exemple #7
0
bool StarTransition::operator== (const TransitionUnit& t) const {
  if ( type() == t.type() ) { 
    return compareProperties(t); 
  }
  else { return false; }
}