To achieve classification of semistructured data with a Kernel method for
labeled ordered trees, instances having a labeled ordered tree structure
are input and their inner product is computed, the result of which is
used for classification learning of the instances. In the inner product
computation, a sum of matches is computed for descendant nodes of
non-leaf nodes of the labeled ordered trees by applying dynamic
programming based on correspondence in which order of the nodes is
maintained.