src/PredFinder/elf/ElfDocument.cpp
//anything else is too hard
//for(

anything else is too hard
for(
anything else is too hard for (
BOOST_FOREACH(ReturnPatternFeature_ptr srpf, separableReturnPatternFeatures){
			PatternFeatureSet_ptr pfs = boost::make_shared<PatternFeatureSet>();
			pfs->setScore(orig_feature_set->getScore());
			pfs->setCoverage(orig_feature_set->getStartSentence(), orig_feature_set->getEndSentence(), orig_feature_set->getStartToken(), orig_feature_set->getEndToken());
			for (size_t i = 0; i < n_features; i++) {
				if (ReturnPatternFeature_ptr rpf = dynamic_pointer_cast<ReturnPatternFeature>(orig_feature_set->getFeature(i))){
					if(separableReturnPatternFeatures.find(rpf) == separableReturnPatternFeatures.end()){
						pfs->addFeature(rpf);
					}
				}
				else{
					pfs->addFeature(orig_feature_set->getFeature(i));
				}
			}
			pfs->addFeature(srpf);						
			newFeatureSets.push_back(pfs);
		}
BOOST_FOREACH ( ReturnPatternFeature_ptr srpf , separableReturnPatternFeatures ) { PatternFeatureSet_ptr pfs = boost :: make_shared < PatternFeatureSet > ( ) ; pfs -> setScore ( orig_feature_set -> getScore ( ) ) ; pfs -> setCoverage ( orig_feature_set -> getStartSentence ( ) , orig_feature_set -> getEndSentence ( ) , orig_feature_set -> getStartToken ( ) , orig_feature_set -> getEndToken ( ) ) ; for ( size_t i = 0 ; i < n_features ; i ++ ) { if ( ReturnPatternFeature_ptr rpf = dynamic_pointer_cast < ReturnPatternFeature > ( orig_feature_set -> getFeature ( i ) ) ) { if ( separableReturnPatternFeatures . find ( rpf ) == separableReturnPatternFeatures . end ( ) ) { pfs -> addFeature ( rpf ) ; } } else { pfs -> addFeature ( orig_feature_set -> getFeature ( i ) ) ; } } pfs -> addFeature ( srpf ) ; newFeatureSets . push_back ( pfs ) ; }
anything else is too hard
for(
anything else is too hard for (