public double normalizedKernel(char[] s,char[] t){
  double k1=unnormalizedKernel(s,s);
  double k2=unnormalizedKernel(t,t);
  double normTerm=Math.sqrt(k1 * k2);
  return unnormalizedKernel(s,t) / normTerm;
}

public double normalizedKernel ( char [ ] s , char [ ] t ) { double k1 = unnormalizedKernel ( s , s ) ; double k2 = unnormalizedKernel ( t , t ) ; double normTerm = Math . sqrt ( k1 * k2 ) ; return unnormalizedKernel ( s , t ) / normTerm ; }
evaluates the normalized kernel between s and t . see [ 1 ] for details about the normalized ssk .
