Implementation of string kernel approach for SVM