LatticeLexiconWordAligner::TupleEqual Struct Reference

Public Member Functions

bool operator() (const Tuple &state1, const Tuple &state2) const
 

Detailed Description

Definition at line 187 of file word-align-lattice-lexicon.cc.

Member Function Documentation

◆ operator()()

bool operator() ( const Tuple state1,
const Tuple state2 
) const
inline

Definition at line 188 of file word-align-lattice-lexicon.cc.

References LatticeLexiconWordAligner::Tuple::comp_state, and LatticeLexiconWordAligner::Tuple::input_state.

188  {
189  // treat this like operator ==
190  return (state1.input_state == state2.input_state
191  && state1.comp_state == state2.comp_state);
192  }

The documentation for this struct was generated from the following file: