Implementation of String Kernels