public float[] analyzeBook(){
		PDFTextStripper stripper;
		float posMax = 0;
		float negMax = 0;
		
		int curPage = 0;
		while (curPage <= bookGrain){ //while on page i
			try { 
				stripper = new PDFTextStripper();
	            stripper.setStartPage(curPage);
	            stripper.setEndPage(curPage);
	            int curWord = 0;
	            
	            String[] page = stripper.getText(book).split("[^A-Za-z]+");
				pageGrain = page.length;							
					if (flag_block){
						while (curWord < pageGrain - 4  ){
							SentiWord wordColor = wordnet.test(page[curWord], page[curWord+1], 
									page[curWord+2], page[curWord+3]);
							
							curWord+=wordColor.getWC();
							double[] colors = wordColor.get();
							
							if (colors[0] > posMax){ posMax = (float)colors[0]; }
							if (colors[1] > negMax){ negMax = (float)colors[1]; }
						};
					} else {

						while (curWord < pageGrain - 4  ){
							SentiWord wordColor = wordnet.test(page[curWord], page[curWord+1], 
									page[curWord+2], page[curWord+3]);
							
							curWord+=wordColor.getWC();
							double[] colors = wordColor.get();
							if (colors[0] > posMax){ posMax = (float)colors[0]; }
							if (colors[1] > negMax){ negMax = (float)colors[1]; }
						};
					};
						
			} catch (IOException e){
				//
			};
			curPage++;
		};
		return new float[]{posMax, negMax};
	}