src/Generic/SPropTrees/SForestUtilities.cpp
//extract all not proposition trees (that don't contain each other) from a sentence and ADD the to a set

extract all not proposition trees (that don't contain each other) from a sentence and ADD the to a set
extract all not proposition trees ( that don ' t contain each other ) from a sentence and ADD the to a set
size_t SForestUtilities::getPropForestFromDocument(const DocTheory* dt, SPropForest& extracted, SNodeContent::Language lang) {
	size_t total=0;
	for ( int i=0; i < dt->getNSentences(); i++ ) {
		const Sentence* sent=dt->getSentence(i);
		total += getPropForestFromSentence(dt, sent, extracted, lang);
	}
	return total;
}
size_t SForestUtilities :: getPropForestFromDocument ( const DocTheory * dt , SPropForest & extracted , SNodeContent :: Language lang ) { size_t total = 0 ; for ( int i = 0 ; i < dt -> getNSentences ( ) ; i ++ ) { const Sentence * sent = dt -> getSentence ( i ) ; total += getPropForestFromSentence ( dt , sent , extracted , lang ) ; } return total ; }
extract all not proposition trees (that don't contain each other) from a sentence and ADD the to a set
extract all not proposition trees ( that don ' t contain each other ) from a sentence and ADD the to a set
//if ( i != 18 ) continue;	std::cerr << "sent=" << i << "\n";
 //std::cerr << "+";
