src/English/timex/en_TemporalNormalizer.cpp
/* returns true if str is contained in EnglishTemporalNormalizer.pureTimeUnits */
returns true if str is contained in EnglishTemporalNormalizer.pureTimeUnits
returns true if str is contained in EnglishTemporalNormalizer . pureTimeUnits
bool EnglishTemporalNormalizer::isPureTimeUnit(const wstring &str) {
	for (int i = 0; i < num_ptu; i++) 
		if (!str.compare(pureTimeUnits[i]) || !str.compare(pureTimeUnits[i] + L"s")) return true;
	return false;
}
bool EnglishTemporalNormalizer :: isPureTimeUnit ( const wstring & str ) { for ( int i = 0 ; i < num_ptu ; i ++ ) if ( ! str . compare ( pureTimeUnits [ i ] ) || ! str . compare ( pureTimeUnits [ i ] + L" " ) ) return true ; return false ; }
returns true if str is contained in EnglishTemporalNormalizer.pureTimeUnits
returns true if str is contained in EnglishTemporalNormalizer . pureTimeUnits