code: private boolean judgeHTMLCode(ArrayList<ArrayList<TextPiece>> wordsByPage) {
  	ArrayList<TextPiece> wordsOfPageOne = wordsByPage.get(0);
  	boolean isHTMLCode = true;
  	int i = 0;
  	/*
  	 * do not have to check all words, Checking 10 words is enough
  	 */
  	while (i < Math.min(20, wordsOfPageOne.size())) {
  	    TextPiece currentWord = wordsOfPageOne.get(i);
  	    String thisText = currentWord.getText();
  	    if ((thisText.length() % 2 != 0)
  		    && (thisText.matches("([A-Z]([A-Z]|[0-9]))*") == false)) {
  		isHTMLCode = false;
  		break;
  	    }
  	    i++;
  	}
  	// if (isHTMLCode)
  	// System.out.println("This document is coded in HTML code!");
  	return isHTMLCode;
      }
docs: Detects documents encoded in HTML code
  
  @param wordsByPage
  the extracted texts in the word level in a document
  @return A boolean value: true/false