code: private String getsSupposedError(String text, int position) {
  		int ini;
  		boolean end = false;
  		String word = text;
  
  		// Indicates where the position of the supposed word begin
  		for (ini = position; ini >= 0; ini--)
  			if (Character.isWhitespace(text.charAt(ini))
  					|| isOpenBracket(text.charAt(ini)))
  				break;
  
  		// Indicates where the supposed word should end
  		for (int i = position + 1; i < text.length() && end == false; i++) {
  
  			switch (text.charAt(i)) {
  			// Indicates the end of the supposed error
  			case ' ':
  			case '!':
  			case '?':
  			case ',':
  			case ';':
  			case ')':
  			case ']':
  			case '}':
  			case '”':
  			case '\n':
  				// The supposed e-mail is attributed in its proper variable
  				word = word.substring(ini + 1, i);
  				end = true;
  				break;
  
  			// Possible end of sentence or just part of the supposed error
  			case '.':
  				if (Character.isWhitespace(text.charAt(i + 1))) {
  					word = word.substring(ini + 1, i);
  					end = true;
  					break;
  				}
  
  				// Character or digit that is part of the supposed error
  			default:
  				break;
  			}
  		}
  
  		return word;
  	}
docs: Analyze a sentence and gets the word which contains the position of the
  error in the parameter
  
  @param text
  the entire sentence to be analyzed
  @param position
  where in the sentence the supposed error was found
  @return the word which contains the supposed error