/disk4/html/www/moses/doxygen/mosesdecoder/phrase-extract/extract-mixed-syntax/Rule.cpp File Reference

#include <sstream>
#include <algorithm>
#include "Rule.h"
#include "AlignedSentence.h"
#include "ConsistentPhrase.h"
#include "NonTerm.h"
#include "Parameter.h"

Go to the source code of this file.

Functions

template<typename T >
bool Contains (const T *sought, const set< const T * > &coll)
bool CompareTargetNonTerms (const NonTerm *a, const NonTerm *b)


Function Documentation

bool CompareTargetNonTerms ( const NonTerm a,
const NonTerm b 
)

Definition at line 524 of file Rule.cpp.

References ConsistentPhrase::corners, and NonTerm::GetConsistentPhrase().

Referenced by Rule::CreateTarget().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
bool Contains ( const T sought,
const set< const T * > &  coll 
) [inline]

Definition at line 497 of file Rule.cpp.

Referenced by Rule::ContainTerm().

Here is the caller graph for this function:


Generated on Thu Jul 6 00:31:36 2017 for Moses by  doxygen 1.5.9