public boolean stem(char[] wordBuffer,int offset,int wordLen){
  reset();
  if (b.length < wordLen) {
    b=new char[ArrayUtil.oversize(wordLen,Character.BYTES)];
  }
  System.arraycopy(wordBuffer,offset,b,0,wordLen);
  i=wordLen;
  return stem(0);
}

public boolean stem ( char [ ] wordBuffer , int offset , int wordLen ) { reset ( ) ; if ( b . length < wordLen ) { b = new char [ ArrayUtil . oversize ( wordLen , Character . BYTES ) ] ; } System . arraycopy ( wordBuffer , offset , b , 0 , wordLen ) ; i = wordLen ; return stem ( 0 ) ; }
stem a word contained in a portion of a char [ ] array . returns true if the stemming process resulted in a word different from the input . you can retrieve the result with getresultlength ( ) / getresultbuffer ( ) or tostring ( ) .
