public String removeClitic(String word) {
    String result = word;
    int endInd = result.lastIndexOf(this.affix);
    return result.substring(0, endInd);
  }
public String removeClitic ( String word ) { String result = word ; int endInd = result . lastIndexOf ( this . affix ) ; return result . substring ( 0 , endInd ) ; }
Removes clitic pronoun(s) from a token.

@param word
the string

@return the word without the clitic pronouns