Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ build/
.vscode/

### Mac OS ###
.DS_Store
.DS_Store
.env
124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Facture_Paiement_43.pdf
Binary file not shown.
Binary file added lib/marytts-5.2.1.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions lib/marytts-5.2.1/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# EOL encoding is LF, but native in working copy
* text=auto

# batch, markdown, properties, text, and config files should be viewable and user-editable
# -- even in Windows Notepad, so CRLF EOL
*.bat text eol=crlf
*.config text eol=crlf
*.md text eol=crlf
*.properties text eol=crlf
*.txt text eol=crlf
18 changes: 18 additions & 0 deletions lib/marytts-5.2.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Maven
target/

# Gradle
.gradle/

# Eclipse
.settings/
.project
.classpath

# misc. testing
tmp/
log/
test-output/

# OSX
.DS_Store
18 changes: 18 additions & 0 deletions lib/marytts-5.2.1/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: false

branches:
only:
- master
- 6.x

language: java
install: mvn install -DskipTests=true -P!standard-with-extra-repos
script: mvn verify
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8

cache:
directories:
- $HOME/.m2
62 changes: 62 additions & 0 deletions lib/marytts-5.2.1/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
MaryTTS Software User Agreement
===============================

*26 January 2014*

MaryTTS licensing
-----------------

MaryTTS is licensed under the following terms.

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.

Applicable Licenses
-------------------

MaryTTS is built upon a number of other open source technologies and
products. Here is a list of those products with links to their licenses.

* **hts_engine:** the HMM-based speech synthesis code in MaryTTS is based on
HTS, ported to Java by DFKI. The original HTS can be obtained from
http://hts-engine.sourceforge.net/ -- it is released under the New and
Simplified BSD License.
* **JTok:** The JTok tokenizer from http://heartofgold.dfki.de is distributed
under the GNU Lesser General Public License, see http://www.gnu.org or
doc/licenses/LGPL.txt.
* **jsresources.jar:** A few utility classes from http://www.jsresources.org are
distributed under the terms of the jsresources license, see
doc/licenses/jsresources-license.txt.
* **log4j:** MaryTTS uses log4j (http://logging.apache.org/log4j) as a logging
mechanism. log4j is distributed under the Apache Software License, see
http://www.apache.org or doc/licenses/apache-software-license.txt
* **JUnit:** For unit testing of the java source, MaryTTS uses JUnit
(http://junit.org). JUnit is licensed under the Common Public License, see
http://junit.org or doc/licenses/CPL.txt.
* **java-diff:** A java diff implementation from
http://www.incava.org/projects/java-diff for input-output-comparisons in the
MaryTTS Expert Interface. java-diff is licensed under the GNU Lesser General
Public License, see http://www.gnu.org or doc/licenses/LGPL.txt.
* **fast-md5:** A fast md5 checksum implementation from
http://www.twmacinta.com/myjava/fast_md5.php used for computing checksums
after downloading voices. fast-md5 is licensed under the GNU Lesser General
Public License, see http://www.gnu.org or doc/licenses/LGPL.txt.
* **mwdumper:** A tool for extracting sets of pages from a MediaWiki dump
file. mwdumper is MIT-style like licensed, see
http://www.mediawiki.org/wiki/Mwdumper and for the license
http://en.wikipedia.org/wiki/MIT_License. (files concerned:
**mwdumper-2008-04-13.jar**)
* **sgt:** The Scientific Graphics Toolkit (sgt) is provided by the
NOAA/PMEL/EPIC group (see http://www.epic.noaa.gov/java/sgt/) under the
BSD-style EPIC license, see doc/licenses/epic-license.txt.

**IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
TO USE OF THIS CONTENT.**
124 changes: 124 additions & 0 deletions lib/marytts-5.2.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
[![Build Status](https://travis-ci.org/marytts/marytts.svg?branch=5.1.x)](https://travis-ci.org/marytts/marytts)

# MaryTTS

This is the source code repository for the multilingual open-source MARY text-to-speech platform (MaryTTS).
MaryTTS is a client-server system written in pure Java, so it runs on many platforms.

**For a downloadable package ready for use, see [the releases page](https://github.com/marytts/marytts/releases).**

Older documentation can also be found at http://mary.dfki.de and https://mary.opendfki.de.

This README is part of the the MaryTTS source code repository.
It contains information about compiling and developing the MaryTTS sources.

The code comes under the Lesser General Public License LGPL version 3 -- see LICENSE.md for details.


## Using MaryTTS in your own Java projects

### Adding the MaryTTS to your dependencies

The easiest way to use MaryTTS in your own Java projects is to declare a dependency on a relevant MaryTTS artifact:

- in the `pom.xml` for Maven:
```xml
<dependencies>
<dependency>
<groupId>de.dfki.mary</groupId>
<artifactId>voice-cmu-slt-hsmm</artifactId>
<version>5.2.1</version>
</dependency>
</dependencies>
```
- in the `build.gradle` for Gradle
```groovy
repositories {
mavenCentral()
}

dependencies {
compile 'de.dfki.mary:marytts:5.2.1'
}
```


### Synthesizing speech

Text to wav basic examples are proposed in this repository
- Maven: https://github.com/marytts/marytts-txt2wav/tree/maven
- Gradle: https://github.com/marytts/marytts-txt2wav/tree/gradle


## Using MaryTTS for other programming languages

If you want to use MaryTTS for other programming languages (like python for example), you need to achieve 3 steps

1. compiling marytts
2. starting the server
3. query synthesis on the server


### Compiling MaryTTS on the command line

MaryTTS v5.x builds with Maven 3.0.x.
If it is not installed on your system, see
http://maven.apache.org/download.html or install it using your favorite package manager.

Compiling the MARY system itself can be done using

mvn install

in the top-level folder.

This will compile the system, run all unit and integration tests, package the system to the extent possible, and install it in your local maven repository.


### Running the freshly built MaryTTS server

After a successful compile, you should find a ready-to-run unpacked installation of the MaryTTS server system in `target/marytts-<VERSION>`.
Run the server as

target/marytts-<VERSION>/bin/marytts-server

Then connect to it with your browser at http://localhost:59125 or using the `marytts-client` in the same folder.

The runtime system is also available as deployable packages:

target/marytts-<VERSION>.zip

Installation is easy:
unpack anywhere, and run the scripts in the `bin/` folder.


### Synthesize speech using the server

Synthesizing speech, using the server, is pretty easy.
You need to generate proper HTTP queries and deal with the associated HTTP responses.
Examples are proposed :
- python 3: https://github.com/marytts/marytts-txt2wav/tree/python
- shell: https://github.com/marytts/marytts-txt2wav/tree/sh


## Developing MaryTTS

### Working on MaryTTS code

The recommended workflow for making contributions to the MaryTTS source code is to follow the GitHub model:

1. fork the MaryTTS repository into your own profile on GitHub, by navigating to https://github.com/marytts/marytts and clicking "fork" (of course you need a GitHub account);

2. use the `git clone`, `commit`, and `push` commands to make modifications on your own marytts repository;
in this process, make sure to `git pull upstream master` regularly to stay in sync with latest developments on the master repo;

3. when you think a reusable contribution is ready, open a "pull request" on GitHub to allow for easy merging into the master repository.

Have a look at the [GitHub documentation](http://help.github.com/) for further details.


### IDE configuration

Wiki pages are available to help you to configure your IDE to develop MaryTTS.
The following IDEs have been tested and documented:

- Eclipse: https://github.com/marytts/marytts/wiki/Eclipse
4 changes: 4 additions & 0 deletions lib/marytts-5.2.1/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
allprojects {
version '5.2.1'
buildDir 'target'
}
Binary file added lib/marytts-5.2.1/doc/ErrorHandling.odp
Binary file not shown.
Binary file added lib/marytts-5.2.1/doc/ErrorHandling.pdf
Binary file not shown.
Binary file added lib/marytts-5.2.1/doc/FSTFormat.odt
Binary file not shown.
Loading