1. A method performed by a computing device for creating a model structure, the method comprising: creating multiple submodels comprising sentence weights that are assigned to a sentence comprising multiple words having assigned word weights, the multiple submodels including an individual submodel that comprises an individual sentence weight; arranging the multiple submodels in layers based on a selected permutation of the multiple words of the sentence; assigning, as an input to the individual submodel, an individual word weight that is assigned to an individual word of the sentence; and defining the model structure to include the multiple submodels arranged in the layers, wherein the individual submodel is configured to perform an operation on the individual sentence weight assigned to the sentence and the individual word weight assigned to the individual word of the sentence.