Back to results
US 11,120,214 B2Granted
Corpus generating method and apparatus, and human-machine interaction processing method and apparatus
AssigneeAlibaba Group Holding Limited
InventorXiaojun Wang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present specification provide a corpus generating method and apparatus, and a human-machine interaction processing method and apparatus, wherein the corpus generating method comprises: generating a corpus vector according to corpus content; determining a vector type of the corpus vector; and generating, according to the vector type and the corpus vector, a corpus having an inverted chain index.
Claims15
A corpus generating method, implementable by a computing device, the method comprising:
- generating a corpus vector according to corpus content;
- determining a vector type of the corpus vector, wherein the determining comprises calculating a distance between the corpus vector and each of a plurality of class center points and determining the vector type of the corpus vector as a vector type represented by one of the class center points having the smallest distance to the corpus vector;
- and
- generating, according to the vector type and the corpus vector, a corpus having an inverted chain index, wherein the inverted chain index comprises a plurality of items, each item comprising an attribute value and one or more addresses of one or more records having the attribute value, and wherein, for at least one of the items, the attribute value of the item comprises the determined vector type and the one or more addresses of the one or more records of the item comprise an address of the generated corpus vector.
1 more element
A corpus generating apparatus, comprising:
- one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to cause the apparatus to perform operations comprising:
- generating a corpus vector according to corpus content;
- determining a vector type of the corpus vector, wherein the determining comprises calculating a distance between the corpus vector and each of a plurality of class center points and determining the vector type of the corpus vector as a vector type represented by one of the class center points having the smallest distance to the corpus vector;
- and
- generating, according to the vector type and the corpus vector, a corpus having an inverted chain index, wherein the inverted chain index comprises a plurality of items, each item comprising an attribute value and one or more addresses of one or more records having the attribute value, and wherein, for at least one of the items, the attribute value of the item comprises the determined vector type and the one or more addresses of the one or more records of the item comprise an address of the generated corpus vector.
2 more elements
Dependencies are inferred from the claim text.