Shape Categorization Using String Kernels