uccharan
Copyright 2026 Abhinav Gautam and the uccharan contributors

This product is licensed under the Apache License, Version 2.0 (see LICENSE).

uccharan contains no source code, rule file or dictionary from espeak-ng or
from any other GPL-licensed project. Some word tables, letter-to-sound models
and compatible-mode tables were built from espeak-ng's output on word lists,
with espeak-ng run as a program; DATA_LICENSES.md names them and lists every
data file.

Third-party data compiled into the language data files
------------------------------------------------------

The English pronunciation lexicons (crates/uccharan/data/en-us.ucd and
en-gb.ucd) are derived from:

  The CMU Pronouncing Dictionary (cmudict)
  Copyright (C) 1993-2015 Carnegie Mellon University. All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:

  1. Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.
     The contents of this file are deemed to be source code.

  2. Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in
     the documentation and/or other materials provided with the
     distribution.

  This work was supported in part by funding from the Defense Advanced
  Research Projects Agency, the Office of Naval Research and the National
  Science Foundation of the United States of America, and by member
  companies of the Carnegie Mellon Sphinx Speech Consortium. We acknowledge
  the contributions of many volunteers to the expansion and improvement of
  this dictionary.

  THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
  ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
  NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Ported code
-----------

crates/uccharan/src/ja/kana.rs writes Japanese in the symbols of misaki's
Japanese front end (https://github.com/hexgrad/misaki, misaki/cutlet.py, an
adaptation of cutlet by Paul O'Leary McCann, MIT), Copyright hexgrad,
licensed under the Apache License, Version 2.0: its kana-to-symbol table and
its rules for the moraic nasal, the geminate and the long vowel.

crates/uccharan/src/kokoro.rs is a port to Rust of the English G2P of misaki
0.9.4 (https://github.com/hexgrad/misaki, misaki/en.py), Copyright hexgrad,
licensed under the Apache License, Version 2.0. The port follows its
dictionary lookup, stress, suffix, number and sub-word logic; spaCy's tagger
and the espeak-ng fallback were replaced.

bindings/python/python/uccharan/compat/misaki.py reproduces the symbol
replacements of misaki 0.9.4's espeak module (https://github.com/hexgrad/misaki,
misaki/espeak.py: the espeak-ng to misaki table of EspeakFallback and the
espeak-ng to Kokoro table of EspeakG2P), Copyright hexgrad, licensed under the
Apache License, Version 2.0, applied in the same order so that its classes give
the same symbols as misaki's. No espeak-ng or phonemizer code is used.

Third-party data: misaki's English dictionaries
------------------------------------------------

data/sources/misaki/{us,gb}_{gold,silver}.json, and the files compiled from
them (crates/uccharan/data/kokoro-en-us.ucd and kokoro-en-gb.ucd, also in the
npm package's data directory), are copied unchanged from the misaki 0.9.4
wheel on PyPI (https://github.com/hexgrad/misaki, author hexgrad), distributed
under the Apache License, Version 2.0 (data/sources/misaki/LICENSE). Upstream
does not document the original sources of these dictionaries; this project
relies on the upstream Apache-2.0 licence statement.

Symbol tables
-------------

The Kokoro-82M vocabulary (hexgrad/Kokoro-82M, Apache-2.0) and the
StyleTTS2-style symbol table used by Kitten TTS (Apache-2.0) and Matcha-TTS
(MIT) are reproduced in crates/uccharan/src/profile.rs as lists of symbols
and ids so that output can be checked against them.

Evaluation text (repository only; not part of any published package)
--------------------------------------------------------------------

tools/eval/data contains sentences from Tatoeba (https://tatoeba.org),
licensed CC BY 2.0 FR, and sentences from "The Adventures of Sherlock Holmes"
by Arthur Conan Doyle (Project Gutenberg #1661, public domain in the USA).

Brand assets
------------

The Devanagari wordmark in docs/assets/brand is drawn from outlines of a font
licensed under the SIL Open Font License 1.1; see docs/assets/brand/brand.md.

------------------------------------------------------------------------
Unicode CLDR

The cardinal number words of the data-driven languages (crates/uccharan/lang/*.lang),
the spell-out and ordinal rule sets in crates/uccharan/lang/numbers/ (common/rbnf) and
the month names of the [dates] sections of the language files (common/main, format
wide month names) are taken from Unicode CLDR, and the composition tables of
crates/uccharan/src/compose.rs are generated from the Unicode Character Database.
The Hangul readings of Chinese characters in crates/uccharan/lang/ko-hanja.txt are
taken from the Unihan database (Unihan_Readings.txt, field kHangul, Unicode 18.0.0).
Copyright © 1991-2026 Unicode, Inc.
Distributed under the Unicode License v3, reproduced here:

COPYRIGHT AND PERMISSION NOTICE

Copyright © 2001–2026 Unicode, Inc.

Unicode Technical Standard #35, Unicode Locale Data Markup Language
(LDML) made available in this repository is protected by copyright, and
permission must be obtained from Unicode, Inc. prior to any
reproduction, modification, or other use not permitted by the Unicode
Terms of Use <https://www.unicode.org/copyright.html>. Specifically, you
may make copies of this publication and may annotate and translate it
solely for personal or internal business purposes and not for public
distribution, provided that any such permitted copies and modifications
fully reproduce all copyright and other legal notices contained in the
original. You may not make copies of or modifications to this
publication for public distribution, or incorporate it in whole or in
part into any product or publication without the express written
permission of Unicode. Notwithstanding the foregoing, you may within
this repository provide comments and propose changes to this standard
and may make copies/forks solely for such purposes provided that you
reproduce this copyright notice and these terms of use in any such
copy/fork.

All other content in this repo is released under UNICODE LICENSE V3

NOTICE TO USER: Carefully read the following legal agreement. BY
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.

Permission is hereby granted, free of charge, to any person obtaining a
copy of data files and any associated documentation (the "Data Files") or
software and any associated documentation (the "Software") to deal in the
Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell
copies of the Data Files or Software, and to permit persons to whom the
Data Files or Software are furnished to do so, provided that either (a)
this copyright and permission notice appear with all copies of the Data
Files or Software, or (b) this copyright and permission notice appear in
associated Documentation.

THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
THIRD PARTY RIGHTS.

IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
FILES OR SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in these Data Files or Software without prior written
authorization of the copyright holder.

SPDX-License-Identifier: Unicode-3.0

Arabic diacritisation model architecture (model/sarf.rs)
--------------------------------------------------------

uccharan's Rust code implements the network architecture of the Hareef
project (https://github.com/mush42/hareef, MIT licence), and
tools/model_packs/libtashkeel.py converts the trained weights of libtashkeel
(https://github.com/mush42/libtashkeel, same author) into a model pack.
uccharan does not distribute those weights (see DATA_LICENSES.md); a pack
built from them is under this licence:

  MIT License

  Copyright (c) 2023 Musharraf

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

Mandarin data (crates/uccharan-data/data/cmn.ucd, data/sources/cmn)
-------------------------------------------------------------------

The Mandarin segmentation dictionary is the word list of jieba
(https://github.com/fxsjy/jieba, jieba/dict.txt), with its frequencies:

  The MIT License (MIT)

  Copyright (c) 2013 Sun Junyi

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.

The syllables (without tones) of the Mandarin word readings come from the
word list of the Android Open Source Project's PinyinIME
(platform/packages/inputmethods/PinyinIME, jni/data/rawdict_utf16_65105_freq.txt):

  Copyright (c) 2009, The Android Open Source Project
  Licensed under the Apache License, Version 2.0 (see LICENSE).

The character readings and the traditional-to-simplified character mapping
come from the Unicode Han Database (Unihan: Unihan_Readings.txt,
Unihan_Variants.txt), Copyright © 1991-2026 Unicode, Inc., under the
Unicode License v3 reproduced above.

Cantonese data (crates/uccharan-data/data/yue.ucd, data/sources/yue)
--------------------------------------------------------------------

The Cantonese word list, frequency list and character readings come from
rime-cantonese (https://github.com/rime/rime-cantonese:
jyut6ping3.words.dict.yaml, jyut6ping3.chars.dict.yaml, essay-cantonese.txt)
and rime-cantonese-upstream (https://github.com/CanCLID/rime-cantonese-upstream:
char.csv), by the Cantonese Computational Linguistics Infrastructure
Development Workgroup (CanCLID) and contributors, licensed under the Creative
Commons Attribution 4.0 International License
(https://creativecommons.org/licenses/by/4.0/). uccharan selects and converts
them (one reading per word and character, frequencies as segmentation costs)
and adds readings of its own.

The Cantonese character readings the rime lists lack (kCantonese) and the
simplified-to-traditional and variant mappings come from the Unicode Han
Database, Copyright © 1991-2026 Unicode, Inc., under the Unicode License v3
reproduced above.

Hebrew diacritisation model architecture (model/nakdimon.rs)
------------------------------------------------------------

uccharan's Rust code implements the network architecture of Nakdimon
(https://github.com/elazarg/nakdimon), and tools/model_packs/nakdimon.py
converts its trained weights (PyPI package nakdimon 0.2.1) into a model pack.
uccharan does not distribute those weights (see DATA_LICENSES.md); a pack
built from them is under this licence:

  Copyright 2022, Elazar Gershuni

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be
  included in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Japanese dictionary pack (ja.ucd)
---------------------------------

The pack data/packs/ja.ucd (a release asset, fetched when Japanese is used)
is compiled from the dictionary of Open JTalk 1.11
(http://open-jtalk.sourceforge.net/), mecab-naist-jdic: NAIST-jdic with the
pronunciation and accent fields of Open JTalk.

NAIST-jdic (mecab-naist-jdic/COPYING):

  Copyright (c) 2009, Nara Institute of Science and Technology, Japan.

  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are
  met:

  Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.
  Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
  Neither the name of the Nara Institute of Science and Technology
  (NAIST) nor the names of its contributors may be used to endorse or
  promote products derived from this software without specific prior
  written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Open JTalk (COPYING):

  /* ----------------------------------------------------------------- */
  /*           The Japanese TTS System "Open JTalk"                    */
  /*           developed by HTS Working Group                          */
  /*           http://open-jtalk.sourceforge.net/                      */
  /* ----------------------------------------------------------------- */
  /*                                                                   */
  /*  Copyright (c) 2008-2016  Nagoya Institute of Technology          */
  /*                           Department of Computer Science          */
  /*                                                                   */
  /* All rights reserved.                                              */
  /*                                                                   */
  /* Redistribution and use in source and binary forms, with or        */
  /* without modification, are permitted provided that the following   */
  /* conditions are met:                                               */
  /*                                                                   */
  /* - Redistributions of source code must retain the above copyright  */
  /*   notice, this list of conditions and the following disclaimer.   */
  /* - Redistributions in binary form must reproduce the above         */
  /*   copyright notice, this list of conditions and the following     */
  /*   disclaimer in the documentation and/or other materials provided */
  /*   with the distribution.                                          */
  /* - Neither the name of the HTS working group nor the names of its  */
  /*   contributors may be used to endorse or promote products derived */
  /*   from this software without specific prior written permission.   */
  /*                                                                   */
  /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND            */
  /* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,       */
  /* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF          */
  /* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE          */
  /* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS */
  /* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,          */
  /* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED   */
  /* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,     */
  /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
  /* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,   */
  /* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY    */
  /* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE           */
  /* POSSIBILITY OF SUCH DAMAGE.                                       */
  /* ----------------------------------------------------------------- */
