src/main/java/pt/it/av/tnav/ml/tm/stemmer/PorterStemmer.java
public void add(char[] w, int wLen) {
    if (i + wLen >= b.length) {
      char[] new_b = new char[i + wLen + INC];
      for (int c = 0; c < i; c++) new_b[c] = b[c];
      b = new_b;
    }
    for (int c = 0; c < wLen; c++) b[i++] = w[c];
  }
/**
   * Adds wLen characters to the word being stemmed contained in a portion
   * of a char[] array. This is like repeated calls of add(char ch), but
   * faster.
   */
Adds wLen characters to the word being stemmed contained in a portion
of a char[] array. This is like repeated calls of add(char ch), but
faster.
Adds wLen characters to the word being stemmed contained in a portion of a char [] array . This is like repeated calls of add ( char ch ) but faster .
public void add(char[] w, int wLen) {
    if (i + wLen >= b.length) {
      char[] new_b = new char[i + wLen + INC];
      for (int c = 0; c < i; c++) new_b[c] = b[c];
      b = new_b;
    }
    for (int c = 0; c < wLen; c++) b[i++] = w[c];
  }
public void add ( char [ ] w , int wLen ) { if ( i + wLen >= b . length ) { char [ ] new_b = new char [ i + wLen + INC ] ; for ( int c = 0 ; c < i ; c ++ ) new_b [ c ] = b [ c ] ; b = new_b ; } for ( int c = 0 ; c < wLen ; c ++ ) b [ i ++ ] = w [ c ] ; }
Adds wLen characters to the word being stemmed contained in a portion
 of a char[] array.
Adds wLen characters to the word being stemmed contained in a portion of a char [] array .