A computer-implemented method and a system are proposed. According to the method, in response to receiving a character, a first representation of the character is generated by performing word embedding processing on the character. The first representation is related to context of the character. A second representation of the character is generated by performing convolutional neural network (CNN) processing on the character. The second representation is related to a hieroglyphic feature of the character. A label for the character is determined by performing recurrent neural network (RNN) processing on the first representation and the second representation. The label indicates an attribute of the character related to the context.