1. A method comprising: calculating a vector of input data; selecting a subset of a plurality of documents based on a closeness of the vector of the input data to a plurality of vectors of the plurality of documents; determining a frequency of words in the subset of the plurality of documents; and converting the input data based on the frequency.