Action categorization in soccer videos using string kernels