public static boolean isLikelyPerson(String word){
  String strippedWord=stripWord(word);
  if (strippedWord != null && strippedWord.length() > 2 && strippedWord.length() <= 17) {
    boolean result=true;
    for (int i=0; result && i < strippedWord.length(); i++) {
      result=VALID_PERSON_CHARS.indexOf(strippedWord.charAt(i)) != -1;
    }
    return result;
  }
 else {
    return false;
  }
}

public static boolean isLikelyPerson ( String word ) { String strippedWord = stripWord ( word ) ; if ( strippedWord != null && strippedWord . length ( ) > 2 && strippedWord . length ( ) <= 17 ) { boolean result = true ; for ( int i = 0 ; result && i < strippedWord . length ( ) ; i ++ ) { result = VALID_PERSON_CHARS . indexOf ( strippedWord . charAt ( i ) ) != - 1 ; } return result ; } else { return false ; } }
returns true if the specified word is probably a persons name .
