1. An apparatus for generating an inference engine about a document, the apparatus comprising: at least one processor; a memory with instructions, the memory including instructions that, when executed by the at least one processor, cause the at least one processor to: access a set of documents, each document having a corresponding inference; generate a vector representation for each document in the set of documents by (i) parsing text of the document into groups of words; (ii) for each group of words, generating a vector representation of the group by (a) obtaining a binding operator corresponding to a type of the group, the binding operator comprising a matrix of values, (b) obtaining vector representations of the word in the group, (c) summing the vector representations of the words, and (d) multiplying the binding operator and the sum of the vector representations to generate a vector representation of the group; and (iii) summing the vector representations of the groups to generate a vector representation of the document; and train an inference engine on the vector representations of the documents and the corresponding inferences for each of the documents.