src/Generic/patterns/DocumentPattern.cpp
// there is never a reason for DocumentPattern to fire more than once in a
// sentence ~ RMG

there is never a reason for DocumentPattern to fire more than once in a
sentence ~ RMG
there is never a reason for DocumentPattern to fire more than once in a sentence ~ RMG
std::vector<PatternFeatureSet_ptr> DocumentPattern::multiMatchesSentence(
	PatternMatcher_ptr patternMatcher, SentenceTheory *sTheory, UTF8OutputStream *debug)
{
	std::vector<PatternFeatureSet_ptr> return_vector;
	PatternFeatureSet_ptr sfs = matchesSentence(patternMatcher, sTheory, debug);
	if (sfs)
		return_vector.push_back(sfs);
	return return_vector;
}
std :: vector < PatternFeatureSet_ptr > DocumentPattern :: multiMatchesSentence ( PatternMatcher_ptr patternMatcher , SentenceTheory * sTheory , UTF8OutputStream * debug ) { std :: vector < PatternFeatureSet_ptr > return_vector ; PatternFeatureSet_ptr sfs = matchesSentence ( patternMatcher , sTheory , debug ) ; if ( sfs ) return_vector . push_back ( sfs ) ; return return_vector ; }
there is never a reason for DocumentPattern to fire more than once in a
sentence ~ RMG
there is never a reason for DocumentPattern to fire more than once in a sentence ~ RMG