public String stemming(String sen){
		sen+=" ";
	Stemmer s = new Stemmer();
	String result = "";
	char[] w = new char[501];

	char[] chars = sen.toCharArray();
	for(int a=0;a<chars.length;a++){
		int ch = chars[a];
	    if (Character.isLetter((char)ch)){
	    	int j = 0;
	        a++;
	        for(;a<chars.length;a++){
	        	ch = Character.toLowerCase((char)ch);
	        	w[j] = (char)ch;
	                    if (j < 500) j++;
	                    ch = chars[a];
	                    if (!Character.isLetter((char)ch)){
	                       for (int c = 0; c < j; c++) s.add(w[c]);
	                       
	                       s.stem();
	                       String u;
	                       u = s.toString();
	                       result += u;
	                       break;
	                    }
	                 }
	              }
	              if (ch < 0) break;
	              result += (char)ch;
	           }
	          return result;
	      }