The automatic annotation and analysis of speech


Why doing it?

There are several reasons to learn and use scripts for your research:

  1. Apply your work in several contexts, by automatizing a task
  2. Make your work reproducible
  3. Customize SPPAS solutions

Among the very long list of programming languages, Python is one of the most popular in the world, with strong peer support and helpful documentation. Python offers a wide range of libraries that can be used across various applications, including machine learning, statistics, data analysis, etc.

Python’s simple syntax, combined with its large set of libraries, help us do more with less efforts.

Scripting with Python

It is assumed that a version of Python is installed and configured. It is also assumed that the Python IDLE is ready-to-use. For more details about Python.

Introduction to programming

What are the basic concepts for programming scripts?

Python programming

What are the basics of python programming?

Scripting with SPPAS

Under construction... Other SPPAS packages will be documented asap.

The SPPAS API is available in the "sppas" directory of the SPPAS package. For any script that will use it, we've to tell python where to find it! It can be done with the following lines:

 import os
 import sys
 # If there's a SPPAS environment variable
 SPPAS = os.getenv("SPPAS")
 if SPPAS is None:
     SPPAS = "path/to/your/SPPAS-package"
 import sppas

Annotated data

An API to deal with the annotated data.

import sppas.src.anndata