Patent Document ID: 8639643
Application ID: 13119936
Patent Flag: 1

Claim One:
1. A device for classifying a document, the device comprising: a processor; and a memory having machine-readable instructions that are to cause the processor to: generate a data tree structure; assign a plurality of terms to a plurality of first nodes of the data tree structure, wherein each of the plurality of first nodes is assigned a weight, the data tree structure comprising at least one common node, and each of the at least one common node is connected to at least two of the plurality of first nodes and is assigned an operator; obtain a first generation of combinations of possible weights assignable as the weights of the plurality of first nodes, wherein the combinations of possible weights in the first generation correspond to chromosomes in genetic algorithms and the possible weights of each combination correspond to genes of the respective chromosomes; obtain a second generation of combinations of possible weights assignable as the weights of the plurality of first nodes through performance of the genetic algorithms of an inheritance and at least one of a crossover and a mutation in the first generation of combinations of possible weights; assign the weights of the plurality of first nodes in response to at least the second generation of combinations of possible weights; receive the document; determine whether the document is in a document class based on a calculation of a relevance score for the document as a function of an occurrence in the document of the plurality of terms, the operator of the at least one common node, and the weights assigned to the plurality of first nodes; and output the determination.