I'm writing a program for a translator. Now, i'm a writing a class for words and it is as follows, i'm having trouble writing the method to return all the words with an apostrophe in a sentence. What should i write after bool Words::isApostophePresent(){
if(.....)
 Words::Words() {}
string Words::getWord(){
      return word;
}
void Words::setWord(string w){
     word=w;
}
int Words::getNumCharacters(){
   return word.length();
}
vector<char> Words::getCharacters(){
      int numChars=word.length();
      for (int i=0;i<numChars;i++){
           characters.push_back(word[i]);
      }
      return characters;
}
bool Words::isFirstCharacterUppercase(){
   if(isupper(word[0])){
      firstCharacterUppercase=1;
   }
   else {
      firstCharacterUppercase=0;
   }
   return firstCharacterUppercase;
}
bool Words::isApostophePresent(){
   if()
}
Words::~Words(){}
