cloudlanguagetools 11.3.3__tar.gz → 11.3.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/PKG-INFO +1 -1
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/azure.py +4 -1
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/options.py +2 -1
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/PKG-INFO +1 -1
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/setup.py +1 -1
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/LICENSE +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/README.rst +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/__init__.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/amazon.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/argostranslate.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/cereproc.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/chatapi.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/constants.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/deepl.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/dictionarylookup.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/easypronunciation.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/elevenlabs.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/encryption.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/epitran.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/errors.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/forvo.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/fptai.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/google.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/keys.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/languages.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/libretranslate.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/mandarincantonese.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/naver.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/openai.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/pythainlp.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/service.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/servicemanager.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/spacy.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/test_services.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/tokenization.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/translationlanguage.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/transliterationlanguage.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/ttsvoice.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/vocalware.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/voicen.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/watson.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/wenlin.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/SOURCES.txt +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/dependency_links.txt +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/requires.txt +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/top_level.txt +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/setup.cfg +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_audio.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_breakdown.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_chatapi.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_dictionary_lookup.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_llm.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_mock_services.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_servicemanager.py +0 -0
- {cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/tests/test_translation.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cloudlanguagetools
|
3
|
-
Version: 11.3.
|
3
|
+
Version: 11.3.4
|
4
4
|
Summary: Interface with various cloud APIs for language processing such as translation, text to speech
|
5
5
|
Home-page: https://github.com/Language-Tools/cloud-language-tools-core
|
6
6
|
Author: Luc
|
@@ -262,9 +262,12 @@ class AzureService(cloudlanguagetools.service.Service):
|
|
262
262
|
audio_format_str = options.get(cloudlanguagetools.options.AUDIO_FORMAT_PARAMETER, cloudlanguagetools.options.AudioFormat.mp3.name)
|
263
263
|
audio_format = cloudlanguagetools.options.AudioFormat[audio_format_str]
|
264
264
|
|
265
|
+
# https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-text-to-speech?tabs=streaming#audio-outputs
|
266
|
+
# https://learn.microsoft.com/en-us/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechsynthesisoutputformat?view=azure-python
|
265
267
|
audio_format_map = {
|
266
268
|
cloudlanguagetools.options.AudioFormat.mp3: 'Audio24Khz96KBitRateMonoMp3',
|
267
|
-
cloudlanguagetools.options.AudioFormat.ogg_opus: 'Ogg48Khz16BitMonoOpus'
|
269
|
+
cloudlanguagetools.options.AudioFormat.ogg_opus: 'Ogg48Khz16BitMonoOpus',
|
270
|
+
cloudlanguagetools.options.AudioFormat.wav: 'Riff48Khz16BitMonoPcm',
|
268
271
|
}
|
269
272
|
|
270
273
|
output_temp_file = tempfile.NamedTemporaryFile(prefix=f'cloudlanguage_tools_{self.__class__.__name__}_audio', suffix=f'.{audio_format.name}')
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cloudlanguagetools
|
3
|
-
Version: 11.3.
|
3
|
+
Version: 11.3.4
|
4
4
|
Summary: Interface with various cloud APIs for language processing such as translation, text to speech
|
5
5
|
Home-page: https://github.com/Language-Tools/cloud-language-tools-core
|
6
6
|
Author: Luc
|
@@ -6,7 +6,7 @@ from setuptools.command.install import install
|
|
6
6
|
# twine upload dist/*
|
7
7
|
|
8
8
|
setup(name='cloudlanguagetools',
|
9
|
-
version='11.3.
|
9
|
+
version='11.3.4',
|
10
10
|
description='Interface with various cloud APIs for language processing such as translation, text to speech',
|
11
11
|
long_description=open('README.rst', encoding='utf-8').read(),
|
12
12
|
url='https://github.com/Language-Tools/cloud-language-tools-core',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/argostranslate.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/dictionarylookup.py
RENAMED
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/easypronunciation.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/libretranslate.py
RENAMED
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/mandarincantonese.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/servicemanager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools/translationlanguage.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/requires.txt
RENAMED
File without changes
|
{cloudlanguagetools-11.3.3 → cloudlanguagetools-11.3.4}/cloudlanguagetools.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|