src/English/tokens/en_Tokenizer.cpp
// apostrophe surround by alpha characters, but not part of contraction/possessive

apostrophe surround by alpha characters, but not part of contraction/possessive
apostrophe surround by alpha characters but not part of contraction / possessive
bool EnglishTokenizer::matchValidMidWordApostrophe(const LocatedString *string, int index) const {
	return (index > 0) &&
		   ((index + 1) < string->length()) &&
		   (string->charAt(index) == L'\'')    &&
		   (iswalpha(string->charAt(index - 1))) &&
		   (iswalpha(string->charAt(index + 1))) &&
		   (!matchContractionOrPossessive(string, index));
}
bool EnglishTokenizer :: matchValidMidWordApostrophe ( const LocatedString * string , int index ) const { return ( index > 0 ) && ( ( index + 1 ) < string -> length ( ) ) && ( string -> charAt ( index ) == L' \' ' ) && ( iswalpha ( string -> charAt ( index - 1 ) ) ) && ( iswalpha ( string -> charAt ( index + 1 ) ) ) && ( ! matchContractionOrPossessive ( string , index ) ) ; }
apostrophe surround by alpha characters, but not part of contraction/possessive
apostrophe surround by alpha characters but not part of contraction / possessive