private boolean isStemmable(String term){
  for (int c=0; c < term.length(); c++) {
    if (!Character.isLetter(term.charAt(c))) {
      return false;
    }
  }
  return true;
}

private boolean isStemmable ( String term ) { for ( int c = 0 ; c < term . length ( ) ; c ++ ) { if ( ! Character . isLetter ( term . charAt ( c ) ) ) { return false ; } } return true ; }
checks a term if it can be processed correctly .
