def METHOD_NAME(self, data):
    """
    Pre-process text to a encode it to a form, that gives spatial information to the CNN
    """
    # build the text from the request
    if data[0].get('data') is not None:
        data = ast.literal_eval(data[0].get('data').decode('utf-8'))
    text = '{}|{}'.format(data[0].get('review_title'), data[0].get('review'))
    encoded = np.zeros([len(self.ALPHABET), self.FEATURE_LEN], dtype='float32')
    review = text.lower()[:self.FEATURE_LEN - 1:-1]
    i = 0
    for letter in text:
        if i >= self.FEATURE_LEN:
            break;
        if letter in self.ALPHABET_INDEX:
            encoded[self.ALPHABET_INDEX[letter]][i] = 1
        i += 1
    return nd.array([encoded], ctx=self.ctx)