March 12, 2017

Kernels on Sequences

they are DirectKernels operating on SequenceRepresentions.

Sequence Kernel

Java class: SequenceKernel

Source code:

Maven Project: kelp-additional-kernels

JSON type: seqk

Description: it is a convolution kernel between sequences. The algorithm corresponds to the recursive computation presented in (Bunescu and Mooney, 2005).


  • representation: the String identifying the representation on which the kernel must operate
  • maxSubseqLeng: it is the maximum length of common subsequences considered by the kernel
  • lambda: the gap penalty


Razvan C. Bunescu and Raymond J. Mooney. Subsequence kernels for relation extraction. 2005. In NIPS