src/ProfileGenerator/PhraseHypothesis.cpp
//  ellipsis most likely came from a truncated sentence unless it is at the end.

ellipsis most likely came from a truncated sentence unless it is at the end.
ellipsis most likely came from a truncated sentence unless it is at the end .
bool PhraseHypothesis::isInternallyEllided(std::string& rationale){
	std::wstring phrase = getDisplayValue();
	size_t firstEllision = phrase.find(L"...");
	if ((firstEllision != std::wstring::npos) && (firstEllision != phrase.length()-3)){
		rationale = "ellision inside phrase";
		return true;
	}
	return false;
}
bool PhraseHypothesis :: isInternallyEllided ( std :: string & rationale ) { std :: wstring phrase = getDisplayValue ( ) ; size_t firstEllision = phrase . find ( L" " ) ; if ( ( firstEllision != std :: wstring :: npos ) && ( firstEllision != phrase . length ( ) - 3 ) ) { rationale = " " ; return true ; } return false ; }
ellipsis most likely came from a truncated sentence unless it is at the end.
ellipsis most likely came from a truncated sentence unless it is at the end .