Patent ID: 9740770
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. A counting device for counting input sentences, comprising: at least one non-transitory memory operable to store program code; at least one processor operable to read said program code and operate as instructed by said program code, said program code including: wherein the match determination code further causes the at least one processor to, for one group combination or each of multiple group combinations that are combinations of a first group and a second group into which one or multiple subtrees are respectively categorized, determine an inclusion relationship between the first group and the second group, based on height, branch number and number of phrases of subtrees belonging to the first group and height, branch number and number of phrases of subtrees belonging to the second group; and the output code further causes the at least one processor to, based on the determined inclusion relationship, arrange and output an expression represented by one subtree or multiple expressions respectively represented by multiple subtrees categorized in the first group, and an expression represented by one subtree or multiple expressions respectively represented by multiple subtrees categorized in the second group.