The invention discloses a method and a device for generating a candidate translation, and electronic equipment, also discloses a text quantization method and device, and electronic equipment, and also discloses a word quantization method and device, and electronic equipment. The method for generating the candidate translation comprises the following steps of: according to a pre-generated translation rule, generating the undetermined candidate translations of a text to be translated; according to the characteristics, which influence a translation probability, of each undetermined candidate translation and a pre-generated translation probability prediction model, generating the translation probability of the text to be translated to each undetermined candidate translation; and selecting a preset quantity of undetermined candidate translations of which the translation probabilities rank top as the candidate translations of the text to be translated, wherein the characteristics which influence the translation probability at least comprise a semantic similarity between the text to be translated and each candidate translation. The method provided by the invention can be adopted to deepen into the semantic level of the natural language to evaluate the translation quality of each undetermined candidate translation so as to achieve an effect on improving the translation quality of the candidate translations.