Text conversion method and device for multi-language model
The invention provides a text conversion method and device for a multi-language model. The method comprises the steps of obtaining a to-be-converted text and a target language model identifier; obtaining a corresponding target configuration file, a target coding rule and a target language model para...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a text conversion method and device for a multi-language model. The method comprises the steps of obtaining a to-be-converted text and a target language model identifier; obtaining a corresponding target configuration file, a target coding rule and a target language model parameter from a multi-language model information base according to the target language model identifier; encoding the to-be-converted text by utilizing the target encoding rule to obtain an encoding sequence; and constructing a target language model based on the target configuration file and the targetlanguage model parameters, and performing calculation conversion on the coding sequence by utilizing the target language model to obtain a digital vector. The device is used for executing the method.According to the embodiment of the invention, through pretraining the multi-language module, the language models are integrated together to form the multi-language model information base, a user canobtain needed language mode |
---|