Skip to content

Commit 0bb0cb3

Browse files
committed
updates for new python versions
1 parent a30080a commit 0bb0cb3

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
# Maintain dependencies for GitHub Actions
4+
# Enable version updates for github-actions
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.7', '3.8', '3.9', '3.10']
18+
python-version: ['3.9', '3.10', '3.11', '3.12']
1919

2020
steps:
2121
- uses: actions/checkout@v2

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CTC segmentation
22

33
<!-- Badges -->
4-
[![build status](https://github.com/lumaku/ctc-segmentation/actions/workflows/python-package.yml/badge.svg)](https://github.com/lumaku/ctc-segmentation/actions/workflows/python-package.yml)
4+
[![build status](https://github.com/espnet/ctc-segmentation/actions/workflows/python-package.yml/badge.svg)](https://github.com/espnet/ctc-segmentation/actions/workflows/python-package.yml)
55
[![version](https://img.shields.io/pypi/v/ctc-segmentation)](https://pypi.org/project/ctc-segmentation/)
66
[![AUR](https://img.shields.io/aur/version/python-ctc-segmentation-git)](https://aur.archlinux.org/packages/python-ctc-segmentation-git)
77
[![downloads](https://img.shields.io/pypi/dm/ctc-segmentation)](https://pypi.org/project/ctc-segmentation/)
@@ -19,7 +19,7 @@ The CTC segmentation package is not standalone, as it needs a neural network wit
1919
* In ESPnet 1 as corpus recipe: [Alignment script](https://github.com/espnet/espnet/blob/master/espnet/bin/asr_align.py), [Example recipe](https://github.com/espnet/espnet/tree/master/egs/tedlium2/align1), [Demo](https://github.com/espnet/espnet#ctc-segmentation-demo )
2020
* In ESPnet 2, as script or directly as python interface: [Alignment script](https://github.com/espnet/espnet/blob/master/espnet2/bin/asr_align.py), [Demo](https://github.com/espnet/espnet#ctc-segmentation-demo )
2121
* In Nvidia NeMo as dataset creation tool: [Documentation](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/tools/ctc_segmentation.html), [Example](https://github.com/NVIDIA/NeMo/blob/main/tutorials/tools/CTC_Segmentation_Tutorial.ipynb)
22-
* In Speechbrain, as python interface: [Alignment module](https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/alignment/ctc_segmentation.py), [Examples](https://gist.github.com/lumaku/75eca1c86d9467a54888d149dc7b84f1)
22+
* In Speechbrain, as python interface: [Alignment module](https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/alignment/ctc_segmentation.py), [Examples](https://gist.github.com/espnet/75eca1c86d9467a54888d149dc7b84f1)
2323

2424
It can also be used with other frameworks:
2525

@@ -145,7 +145,7 @@ pip install ctc-segmentation
145145

146146
* From source:
147147
```sh
148-
git clone https://github.com/lumaku/ctc-segmentation
148+
git clone https://github.com/espnet/ctc-segmentation
149149
cd ctc-segmentation
150150
cythonize -3 ctc_segmentation/ctc_segmentation_dyn.pyx
151151
python setup.py build

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
It can be combined with CTC-based ASR models.
3030
This package includes the core functions.
3131
32-
https://github.com/lumaku/ctc-segmentation
32+
https://github.com/espnet/ctc-segmentation
3333
"""
3434

3535
setup(
3636
name="ctc_segmentation",
37-
version="1.7.4",
37+
version="1.7.5",
3838

39-
python_requires='>=3.6',
39+
python_requires='>=3.9',
4040
packages=find_packages(exclude=["tests"]),
4141
setup_requires=["numpy"],
4242
install_requires=["setuptools", "numpy", "Cython"],
@@ -49,7 +49,7 @@
4949
"Dominik Winkelbauer <dominik.winkelbauer@tum.de>",
5050
description="CTC segmentation to align utterances within "
5151
"large audio files.",
52-
url="https://github.com/lumaku/ctc-segmentation",
52+
url="https://github.com/espnet/ctc-segmentation",
5353

5454
long_description_content_type="text/markdown",
5555
long_description=package_information,

0 commit comments

Comments
 (0)