Systems and methods for optimizing very large n-gram collections for speed and memory
AssigneeEducational Testing Service
InventorMichael Flor
Life of this patent
Estimating the term…
Loading patent…
AssigneeEducational Testing Service
InventorMichael Flor
Estimating the term…
A computer memory stores a data structure representing a ternary search tree (TST) representing multiple word n-grams for a corpus of documents. The data structure includes plural records in a first memory, each record representing a node of the TST and comprising plural fields. At least some n-grams have a sequence of units. The plurality of fields includes one for identifying a given unit of the sequence for a given node, one reserved for storing payload information for the given node, and plural child fields reserved for storing information for a first, second and third child nodes of the given node. The child fields store a null value indicating the absence of the child node or an identifier identifying a memory location of the child node. For at least one record, at least one of the child fields stores an identifier identifying a memory location of a memory different than the first memory.
A computer memory storing a data structure representing a ternary search tree for word n-grams for a corpus of documents, the data structure comprising:
A computer-implemented method of populating a data structure in a computer memory, the data structure representing a ternary search tree, the ternary search tree representing multiple word n-grams for a corpus of documents, the method comprising:
Dependencies are inferred from the claim text.