Sequence and Tree Kernels with Statistical Feature Mining