Skip to main content

NEW VERSION: the prosodic features of speech (simultaneous speech) compared to the features of native speech +++ spoken language proficiency level estimator

Project description

*** Version-11 release: if the functions of spoken language proficiency levels do not
work on you need to do ML on your machine. Please contact me to get MLtraining.py and the relevant
datasets ***

*** Version-10 release: two new functions were added ***

The two new functions deploy different Machine Learning algorithms to estimate the speakers' spoken
language proficiency levels (only the prosody aspect not semantically).

Prosody is the study of the tune and rhythm of speech and how these features contribute to meaning.
Prosody is the study of those aspects of speech that typically apply to a level above that of the individual
phoneme and very often to sequences of words (in prosodic phrases). Features above the level of the phoneme
(or "segment") are referred to as suprasegmentals.
A phonetic study of prosody is a study of the suprasegmental features of speech. At the phonetic level,
prosody is characterised by:

1. vocal pitch (fundamental frequency)
2. acoustic intensity
3. rhythm (phoneme and syllable duration)

MyProsody is a Python library for measuring these acoustic features of speech (simultaneous speech, high entropy)
compared to ones of native speech. The acoustic features of native speech patterns have been observed and
established by employing Machine Learning algorithms. An acoustic model (algorithm) breaks recorded utterances
(48 kHz & 32 bit sampling rate and bit depth respectively) and detects syllable boundaries, fundamental frequency
contours, and formants. Its built-in functions recognize/measures:

Average_syll_pause_duration
No._long_pause
Speaking-time
No._of_words_in_minutes
Articulation_rate
No._words_in_minutes
formants_index
f0_index ((f0 is for fundamental frequency)
f0_quantile_25_index
f0_quantile_50_index
f0_quantile_75_index
f0_std
f0_max
f0_min
No._detected_vowel
perc%._correct_vowel
(f2/f1)_mean (1st and 2nd formant frequencies)
(f2/f1)_std
no._of_words
no._of_pauses
intonation_index
(voiced_syll_count)/(no_of_pause)
TOEFL_Scale_Score
Score_Shannon_index
speaking_rate
gender recognition
speech mood (semantic analysis)
pronunciation posterior score
articulation-rate
speech rate
filler words
f0 statistics
-------------
NEW
--------------
level (CEFR level)
prosody-aspects (comparison, native level)

The library was developed based upon the idea introduced by Klaus Zechner et al
*Automatic scoring of non-native spontaneous speech in tests of spoken English* Speech Communicaion vol
51-2009, Nivja DeJong and Ton Wempe [1], Paul Boersma and David Weenink [2], Carlo Gussenhoven [3],
S.M Witt and S.J. Young [4] and Yannick Jadoul [5].

Peaks in intensity (dB) that are preceded and followed by dips in intensity are considered as potential
syllable cores.

MyProsody is unique in its aim to provide a complete quantitative and analytical way to study acoustic
features of a speech. Moreover, those features could be analysed further by employing Python's
functionality to provide more fascinating insights into speech patterns.

This library is for Linguists, scientists, developers, speech and language therapy clinics and researchers.
Please note that MyProsody Analysis is currently in initial state though in active development. While the
amount of functionality that is currently present is not huge, more will be added over the next few months.

Installation
=============
Myprosody can be installed like any other Python library, using (a recent version of) the Python package
manager pip, on Linux, macOS, and Windows:

pip install myprosody

or, to update your installed version to the latest release:

pip install -u myprosody

NOTE:
=============
After installing Myprosody, download the folder called:

myprosody

from https://github.com/Shahabks/myprosody

and save on your computer. The folder includes the audio files folder where you will save your audio files
for analysis.

Audio files must be in *.wav format, recorded at 48 kHz sample frame and 24-32 bits of resolution.

To check how the myprosody functions behave, please check

EXAMPLES.pdf
on https://github.com/Shahabks/myprosody

Myprosody was developed by MYOLUTIONS Lab in Japan. It is part of New Generation of Voice Recognition and Acoustic & Language modelling
Project in MYSOLUTIONS Lab. That is planned to enrich the functionality of Myprosody by adding more advanced
functions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myprosody-12.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

myprosody-12-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file myprosody-12.tar.gz.

File metadata

  • Download URL: myprosody-12.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for myprosody-12.tar.gz
Algorithm Hash digest
SHA256 b524a55b33615701fc6778d7523f36bf050dadbca5eb1c344ba5e59e014516c9
MD5 75990cf13b760bf368fdf79090e2c307
BLAKE2b-256 c1f2ee274ad717924d0c131f129023fbe06da8f55c4a86fa783b77977734624e

See more details on using hashes here.

File details

Details for the file myprosody-12-py3-none-any.whl.

File metadata

  • Download URL: myprosody-12-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for myprosody-12-py3-none-any.whl
Algorithm Hash digest
SHA256 a38743bd1c2212db171718fa8d4e53ceccb969d2d5867cc431671e64d3e3b21d
MD5 2695c4a1f33fa861a281d4ddbb0ff0cd
BLAKE2b-256 0018435765951d7012ef8e8e1d2e8777bbeaa0eba52d33efb97138fa39a7d661

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page