Patent attributes
A method, system, and computer program product for using a natural language processor includes importing a training text including a plurality of training nodes and having a first marked span that includes some of the plurality of training nodes and a first training trigger, wherein each training node includes a first attribute and a second attribute. Also included are generating a first plurality of training tree tables for each training node with respect to a first training traversal from the first training trigger, each training tree table including the first and second attributes of each training node in the first training traversal, and generating a first plurality of training comparison tables from the first plurality of training tree tables. Each training comparison table is also analyzed to determine if a target node belongs in the first marked span, and labeling each training comparison table accordingly.