The invention provides an intention understanding method and device, and the method comprises the steps: recognizing a target word slot
label corresponding to a composition word in a
target text, andgenerating a target generalized text of the
target text according to the target word slot
label; matching the target generalization text with a plurality of preset generalization templates, and determining candidate generalization templates according to the matching degree; calculating the
semantic similarity between the target generalization text and the candidate generalization template, and determining the target generalization template according to the
semantic similarity; and obtaining a template intention of the target generalization template, taking the template intention of the targetgeneralization template, and generating an intention understanding result of the
target text according to the template intention, the target word slot
label and the composition words corresponding tothe target word slot label. Therefore, intention understanding of related information is realized based on a generalization
processing mode, dependence on a large number of
annotation training samplesis avoided,
annotation workload and difficulty of a sample person are reduced, and intention understanding
modes are enriched.