code: public String removeClitic(String word) {
      String result = word;
      int endInd = result.lastIndexOf(this.affix);
      return result.substring(0, endInd);
    }
docs: Removes clitic pronoun(s) from a token.
  
  @param word
  the string
  
  @return the word without the clitic pronouns