fave-syllabify

Syllabify a force-aligned TextGrid

https://github.com/forced-alignment-and-vowel-extraction/fave-syllabify

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Syllabify a force-aligned TextGrid

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

fave-syllabify

PyPI version Lint and
Test Build
Docs codecov DOI

Syllabify a force-aligned TextGrid

Installation

bash pip install fave-syllabify

Usage

Import classes and functions

python from aligned_textgrid import AlignedTextGrid, custom_classes from fave_syllabify import syllabify_tg from pathlib import Path

Read in a textgrid

``` python tg = AlignedTextGrid( textgridpath=Path( "docs", "data", "josef-fruehwaldspeaker.TextGrid" ), entryclasses=customclasses( ["Word", "Phone"] ) )

print(tg) ```

AlignedTextGrid with 1 groups named ['group_0'] each with [2] tiers. [['Word', 'Phone']]

Syllabify the textgrid

``` python syllabify_tg(tg)

print(tg) ```

AlignedTextGrid with 1 groups named ['group_0'] each with [4] tiers. [['Word', 'Syllable', 'SylPart', 'Phone']]

Exploring the syllabification

``` python wordtier = tg.group0.Word raindrops = word_tier[5]

print(raindrops.label) ```

raindrops

Each syllable is labelled with its stress.

python print([ syl.label for syl in raindrops.contains ])

['syl-1', 'syl-2']

Each syllable contains its constituent parts in a flat hierarchy (there’s no rhyme constituent).

python syl = raindrops.first.fol print([ part.label for part in syl.contains ])

['onset', 'nucleus', 'coda']

Each constituent contains its relevant phone.

python onset = syl.onset print([ phone.label for phone in onset ])

['D', 'R']

Owner

  • Name: Forced Alignment and Vowel Extraction
  • Login: Forced-Alignment-and-Vowel-Extraction
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: fave-syllabify
message: 'If you use this software, please cite it as below.'
type: software
authors:
  - family-names: Fruehwald
    given-names: Josef
    orcid: 'https://orcid.org/0000-0001-8480-9461'
identifiers:
  - type: doi
    value: 10.5281/zenodo.10708119
repository-code: >-
  https://github.com/Forced-Alignment-and-Vowel-Extraction/fave-syllabify
url: >-
  https://forced-alignment-and-vowel-extraction.github.io/fave-syllabify
repository-artifact: 'https://zenodo.org/records/10708119'
abstract: A python library to syllabify a force-aligned textgrid.
keywords:
  - linguistics
  - computational linguistics
  - phonetics
license: GPL-3.0
version: 0.1.2
date-released: '2024-02-26'
doi: 10.5281/zenodo.10708119

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 6
  • Average time to close issues: 2 days
  • Average time to close pull requests: 4 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.17
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • chrisbrickhouse (1)
Pull Request Authors
  • JoFrhwld (11)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 8 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: fave-syllabify

Syllabify force-aligned textgrids

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 8 Last month
Rankings
Dependent packages count: 9.8%
Average: 37.2%
Dependent repos count: 64.6%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/build_docs.yml actions
  • actions/cache v3 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • quarto-dev/quarto-actions/publish v2 composite
  • quarto-dev/quarto-actions/setup v2 composite
  • snok/install-poetry v1 composite
.github/workflows/lint-and-test.yml actions
  • actions/cache v3 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • snok/install-poetry v1 composite
poetry.lock pypi
  • 131 dependencies
pyproject.toml pypi