diff --git a/azure-cognitiveservices-translatortext/MANIFEST.in b/azure-cognitiveservices-translatortext/MANIFEST.in index b3764272cbcf..b0e4c732e4ce 100644 --- a/azure-cognitiveservices-translatortext/MANIFEST.in +++ b/azure-cognitiveservices-translatortext/MANIFEST.in @@ -1,3 +1,4 @@ +recursive-include tests *.py *.yaml include *.rst include azure/__init__.py include azure/cognitiveservices/__init__.py diff --git a/azure-cognitiveservices-translatortext/README.rst b/azure-cognitiveservices-translatortext/README.rst index d0429ebc7565..daf9533a89f9 100644 --- a/azure-cognitiveservices-translatortext/README.rst +++ b/azure-cognitiveservices-translatortext/README.rst @@ -28,3 +28,6 @@ Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the `Issues `__ section of the project. + + +.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-translatortext%2FREADME.png diff --git a/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext/operations/translator_operations.py b/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext/operations/translator_operations.py index 4ed7a6981906..f78b6bd92cf4 100644 --- a/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext/operations/translator_operations.py +++ b/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext/operations/translator_operations.py @@ -305,11 +305,11 @@ def dictionary_lookup( "confidence" (or perhaps more accurately, "probability in the training data") of that translation pair. The sum of confidence scores for one source word may or may not sum to 1.0. - * `prefixWord-` A string giving the the word to display as a prefix of - the translation. Currently, this is the gendered determiner of nouns, - in languages that have gendered determiners. For example, the prefix - of the Spanish word "mosca" is "la", since "mosca" is a feminine noun - in Spanish. This is only dependent on the translation, and not on the + * `prefixWord-` A string giving the word to display as a prefix of the + translation. Currently, this is the gendered determiner of nouns, in + languages that have gendered determiners. For example, the prefix of + the Spanish word "mosca" is "la", since "mosca" is a feminine noun in + Spanish. This is only dependent on the translation, and not on the source. If there is no prefix, it will be the empty string. * `backTranslations-` A list of "back translations" of the target. For example, source words that the target can translate to. The list is