﻿THIRD-PARTY SOFTWARE AND MODEL NOTICES
Dígame for Linux

Dígame includes, or downloads when a feature first needs it, the third-party
software and machine-learning models listed below. Each belongs to its copyright holder
and is used under the license named. Full license texts are in the "licenses" folder
beside this file (the install folder), in
python/lib/python3.12/LICENSE.txt, and in each Python package's .dist-info folder under
python/lib/python3.12/site-packages (licenses/python-packages.txt lists every package, its
version and its license). Where a license requires it, the source code location is given.

Except where a component's license says otherwise, the components are provided "AS IS",
WITHOUT WARRANTY OF ANY KIND.

Dígame itself is licensed under LICENSE.txt.


======================================================================================
PART 1. MODELS
======================================================================================

1.1 Parakeet TDT 0.6B v3 (speech recognition)
  Model:       nvidia/parakeet-tdt-0.6b-v3, Copyright NVIDIA Corporation
  License:     Creative Commons Attribution 4.0 International (licenses/CC-BY-4.0.txt)
  Source:      https://huggingface.co/nvidia/parakeet-tdt-0.6b-v3
  Attribution: "parakeet-tdt-0.6b-v3" by NVIDIA Corporation, licensed under CC BY 4.0.
  Changes:     the ONNX export with int8 weight quantization made by the k2-fsa
               sherpa-onnx project (sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8,
               https://github.com/k2-fsa/sherpa-onnx/releases/tag/asr-models). No
               further changes. No endorsement by NVIDIA is implied.

1.2 OPUS-MT translation models (Tatoeba Translation Challenge)
  Models:      spa-eng opus+bt-2021-04-30 and eng-spa opus+bt-2021-04-10 are included;
               the other language pairs download from the same project on first use.
  Copyright:   Jorg Tiedemann and the Language Technology Research Group, University of
               Helsinki (Helsinki-NLP)
  License:     CC BY 4.0 (licenses/CC-BY-4.0.txt)
  Source:      https://github.com/Helsinki-NLP/Tatoeba-Challenge,
               https://object.pouta.csc.fi/Tatoeba-MT-models/
  Attribution: OPUS-MT models by Helsinki-NLP (University of Helsinki), licensed under
               CC BY 4.0. J. Tiedemann and S. Thottingal, "OPUS-MT - Building open
               translation services for the World", EAMT 2020. J. Tiedemann, "The
               Tatoeba Translation Challenge", WMT 2020.
  Changes:     converted from Marian NMT to CTranslate2 format with int8 weight
               quantization (CTranslate2 OpusMTConverter); the SentencePiece files are
               unmodified. No endorsement by the University of Helsinki is implied.

1.3 Whisper speech recognition models
  Original:    OpenAI Whisper, Copyright (c) 2022 OpenAI, MIT License
               (licenses/Whisper-MIT.txt), https://github.com/openai/whisper
  Conversions: Systran/faster-whisper-tiny and -base (included), Copyright SYSTRAN, MIT
               License, https://huggingface.co/Systran; faster-whisper-large-v3-turbo
               (optional download), MIT License,
               https://huggingface.co/dropbox-dash/faster-whisper-large-v3-turbo
               Used unmodified.

1.4 CAM++ speaker embedding model (3D-Speaker)
  Model:       speech_campplus_sv_en_voxceleb_16k (app/models/speaker.onnx)
  Copyright:   Alibaba Group, Tongyi Lab (3D-Speaker project)
  License:     Apache License 2.0 (licenses/Apache-2.0.txt)
  Source:      https://www.modelscope.cn/models/iic/speech_campplus_sv_en_voxceleb_16k,
               https://github.com/modelscope/3D-Speaker
  Changes:     the ONNX export by the k2-fsa sherpa-onnx project, used unmodified.

1.5 Silero VAD
  File:        python/lib/python3.12/site-packages/faster_whisper/assets/silero_vad_v6.onnx
  Copyright:   Silero Team. MIT License (licenses/SileroVAD-MIT.txt),
               https://github.com/snakers4/silero-vad

1.6 Ukrainian voice (speaking translations into Ukrainian)
  Model:       uk_UA-ukrainian_tts-medium, a Piper (VITS) voice, downloaded the first
               time a spoken output is set to Ukrainian, into models/voices/uk in the app's data folder
               (from https://digametranslate.com/models/ or the project)
  Copyright:   the Piper project (rhasspy, Michael Hansen and contributors)
  License:     MIT License (licenses/Piper-MIT.txt)
  Source:      https://huggingface.co/rhasspy/piper-voices/tree/main/uk/uk_UA/ukrainian_tts/medium
  Training:    trained from scratch on the Lada, Mykyta and Tetiana voices of the Open
               Source Ukrainian Text-to-Speech datasets, Copyright Yehor Smoliakov,
               Apache License 2.0 (licenses/Apache-2.0.txt),
               https://github.com/egorsmkv/ukrainian-tts-datasets,
               https://doi.org/10.5281/zenodo.7396774
  Changes:     used unmodified; it is run by Dígame's own code, which spells out
               numbers and other symbols in Ukrainian words before the voice reads them.

======================================================================================
PART 2. NATIVE LIBRARIES AND RUNTIMES
======================================================================================

2.1 Python 3.12 (python-build-standalone)
  Copyright:   Python Software Foundation; the build by Astral Software Inc. and the
               python-build-standalone contributors
  License:     Python Software Foundation License Version 2
               (python/lib/python3.12/LICENSE.txt); the build scripts are under the
               Mozilla Public License 2.0 (licenses/MPL-2.0.txt)
  Source:      https://www.python.org/downloads/,
               https://github.com/astral-sh/python-build-standalone
  Linked in:   OpenSSL (Apache 2.0), libffi (MIT), zlib (zlib license), bzip2 (BSD-style),
               XZ Utils / liblzma (0BSD), SQLite (public domain), mpdecimal (BSD-2-Clause),
               libedit (BSD-3-Clause), ncurses (MIT-style), libuuid (BSD-3-Clause),
               expat (MIT); their notices are listed at
               https://gregoryszorc.com/docs/python-build-standalone/main/
               running.html#licensing

2.2 ONNX Runtime
  Copyright:   Microsoft Corporation. MIT License (licenses/onnxruntime/LICENSE),
               https://github.com/microsoft/onnxruntime. The code it bundles is listed
               in licenses/onnxruntime/ThirdPartyNotices.txt.

2.3 CTranslate2
  Copyright:   SYSTRAN and the OpenNMT contributors. MIT License
               (licenses/CTranslate2-MIT.txt), https://github.com/OpenNMT/CTranslate2
  Bundled:     Intel oneMKL, linked into libctranslate2, Copyright Intel Corporation,
               Intel Simplified Software License (its text is in
               licenses/onnxruntime/ThirdPartyNotices.txt); oneDNN (Apache 2.0); the GNU
               OpenMP runtime (ctranslate2.libs/libgomp, GPL v3 with the GCC Runtime
               Library Exception 3.1, as for libgfortran in 2.7); cpu_features and ruy
               (Apache 2.0), spdlog and cxxopts (MIT), listed at
               https://github.com/OpenNMT/CTranslate2/tree/master/third_party

2.4 sherpa-onnx
  Copyright:   Xiaomi Corporation and the k2-fsa contributors. Apache License 2.0
               (licenses/Apache-2.0.txt), https://github.com/k2-fsa/sherpa-onnx (version
               in python-packages.txt)
  Changes:     the published wheel (2.0 or later, which contains no eSpeak NG), with the
               copy of alsa-lib it carries removed: the module loads the computer's own
               libasound.so.2 instead (its library reference changed with patchelf).
  Linked in:   ONNX Runtime (2.2); kaldi-native-fbank, kaldi-decoder, OpenFst,
               simple-sentencepiece (Apache 2.0); Eigen (MPL 2.0, licenses/MPL-2.0.txt,
               https://gitlab.com/libeigen/eigen); nlohmann/json (MIT); hclust-cpp /
               fastcluster (BSD-2-Clause).

2.5 Speaking translations: SVOX Pico
  Files:       python/lib/pico/digame-pico and python/lib/pico/lang/ (the English (US and
               UK), Spanish, French, German and Italian voices)
  Copyright:   2008-2009 SVOX AG, Zurich; 2009 The Android Open Source Project
  License:     Apache License 2.0 (licenses/Apache-2.0.txt; NOTICE in
               licenses/SVOX-Pico-NOTICE.txt)
  Source:      https://android.googlesource.com/platform/external/svox/, as packaged by
               Debian (svox 1.0+git20130326,
               http://deb.debian.org/debian/pool/non-free/s/svox/)
  Changes:     Debian's fixes applied (64-bit pointers, a buffer overrun, undefined
               behaviour, a lower default volume; Apache 2.0, Copyright Mathieu Parent and
               the Debian maintainers); the library is compiled into digame-pico, a small
               program of Dígame's own that writes one spoken line to a WAV file. The
               voice data files are used unmodified. Debian files them under non-free only
               because the data they were made from isn't published; they are released
               under the Apache License 2.0.
  Voices the computer has installed (eSpeak NG, RHVoice) are used as programs of their
  own when present. Nothing of them is included here.

2.6 PortAudio (through python-sounddevice)
  File:        python/lib/libportaudio.so.2, built from PortAudio v19.7.0 unmodified
               (ALSA host API; the computer's own libasound.so.2 is loaded at run time,
               nothing of ALSA is included)
  Copyright:   (c) 1999-2006 Ross Bencina and Phil Burk. PortAudio license
               (licenses/PortAudio.txt), https://github.com/PortAudio/portaudio

2.7 NumPy, with OpenBLAS, LAPACK and the GCC runtime
  Copyright:   NumPy Developers; the OpenBLAS Project; the LAPACK authors
  License:     BSD-3-Clause and others; libgfortran / libquadmath / libgcc_s are GPL v3
               with the GCC Runtime Library Exception 3.1. Texts in
               python/lib/python3.12/site-packages/numpy-*.dist-info/licenses/

2.8 Cython (build tool)
  Files:       app/*.cpython-312-x86_64-linux-gnu.so (the application's own modules,
               compiled to native code)
  Copyright:   Cython project (Stefan Behnel and contributors)
  License:     Apache License 2.0 (licenses/Apache-2.0.txt),
               https://github.com/cython/cython
  Cython is not shipped. It is used at build time to compile Dígame's own Python
  modules to native extension modules; a small amount of Cython-authored C support code is
  compiled into those .so files and is covered by the Apache 2.0 license above.


======================================================================================
PART 3. PYTHON PACKAGES
======================================================================================
Every package in python/lib/python3.12/site-packages, with its version and license, is
listed in licenses/python-packages.txt, and its license text is in its .dist-info folder.
Packages without one there:
  ctranslate2      MIT, licenses/CTranslate2-MIT.txt
  faster-whisper   MIT, Copyright (c) 2023 SYSTRAN, licenses/Faster-Whisper-Systran-MIT.txt
  sentencepiece    Apache 2.0, Google, https://github.com/google/sentencepiece
  tokenizers       Apache 2.0, Hugging Face, https://github.com/huggingface/tokenizers
  flatbuffers      Apache 2.0, Google, https://github.com/google/flatbuffers
The MPL 2.0 components (certifi, tqdm, Eigen, parts of hf-xet) are included unmodified;
their source is at https://github.com/certifi/python-certifi,
https://github.com/tqdm/tqdm, https://gitlab.com/libeigen/eigen and
https://github.com/huggingface/xet-core.
"av" in python/lib/python3.12/site-packages is a placeholder written for this build, not
PyAV.
