Abstract:
Systems and methods are provided for translating a phrase block and presenting meanings and translations of the phrase block. Consistent with certain embodiments, computer-implemented systems and methods are provided for identifying parts of speech of the phrase block, determining definitions of the phrase block in the source language corresponding to the parts of speech, and determining usage examples corresponding to the definitions. Additionally, systems and methods are provided for translating the phrase block from the source language to translated text and for ranking the parts of speech based on usage. Consistent with certain embodiments, computer-implemented systems and methods are also provided for determining usage based on a user's location, based on a corpus of documents, and/or based on content stored by the user. Systems and methods are also provided for displaying the phrase block, definitions and usage examples of the phrase block, and/or translations of the phrase block according to the ranking.
Abstract:
A computer-implemented method can include obtaining, by a server computing device, a machine translation model relating sets of source words in a source language to sets of target words in a different target language, each of the sets of source words and target words being labeled with a level of formality with respect to its corresponding language. The method can include receiving, by the server computing device, a request to obtain a translated text representing a translation of a text from the source language to the target language, the request further specifying a desired level of formality for the translated text. The method can include in response to receiving the request, obtaining, by the server computing device, the translated text by translating the text using the machine translation model and the desired level of formality. The method can further include outputting, by the server computing device, the translated text.