1. A method of retrieving documents, comprising: performing processing associated with coding, with a processor, a plurality of stored documents as respective document feature vectors in a bit-attribute matrix, each feature vector comprising at least one attribute or class; performing processing associated with generating, with the processor, a query vector based on a query document; performing processing associated with performing, with the processor, one or more logical operations between the query vector and the respective document feature vectors in the bit-attribute matrix to obtain respective similarity measures; and performing processing associated with assigning, with the processor, an attribute or class to the query document based on the attribute or classes of one or more of the feature vectors.
1. A method of retrieving documents, comprising: performing processing associated with coding, with a processor, a plurality of stored documents as respective document feature vectors in a bit-attribute matrix, each feature vector comprising at least one attribute or class; performing processing associated with generating, with the processor, a query vector based on a query document; performing processing associated with performing, with the processor, one or more logical operations between the query vector and the respective document feature vectors in the bit-attribute matrix to obtain respective similarity measures; and performing processing associated with assigning, with the processor, an attribute or class to the query document based on the attribute or classes of one or more of the feature vectors. 6. The method of claim 1 , wherein the performing comprises performing one or more logical operations between a trigram of the query feature vector and a trigram of the respective document feature vector to obtain the respective similarity measures.