scikit-talk
Scikit-talk is an open-source toolkit for processing collections of real-world conversational speech in Python. The toolkit aims to facilitate the exploration of large collections of transcriptions and annotations of conversational interaction.
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 1 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 (16.3%) to scientific vocabulary
Repository
Scikit-talk is an open-source toolkit for processing collections of real-world conversational speech in Python. The toolkit aims to facilitate the exploration of large collections of transcriptions and annotations of conversational interaction.
Basic Info
- Host: GitHub
- Owner: elpaco-escience
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://sktalk.readthedocs.io
- Size: 431 KB
Statistics
- Stars: 3
- Watchers: 5
- Forks: 2
- Open Issues: 25
- Releases: 4
Metadata Files
README.dev.md
scikit-talk developer documentation
If you're looking for user documentation, go here.
Development install
```shell
Create a virtual environment, e.g. with
python3 -m venv env
activate virtual environment
source env/bin/activate
make sure to have a recent version of pip and setuptools
python3 -m pip install --upgrade pip setuptools
(from the project root directory)
install scikit-talk as an editable package
python3 -m pip install --no-cache-dir --editable .
install development dependencies
python3 -m pip install --no-cache-dir --editable .[dev] ```
Afterwards check that the install directory is present in the PATH environment variable.
Running the tests
There are two ways to run tests.
The first way requires an activated virtual environment with the development tools installed:
shell
pytest -v
The second is to use tox, which can be installed separately (e.g. with pip install tox), i.e. not necessarily inside the virtual environment you use for installing scikit-talk, but then builds the necessary virtual environments itself by simply running:
shell
tox
Testing with tox allows for keeping the testing environment separate from your development environment.
The development environment will typically accumulate (old) packages during development that interfere with testing; this problem is avoided by testing with tox.
Test coverage
In addition to just running the tests to see if they pass, they can be used for coverage statistics, i.e. to determine how much of the package's code is actually executed during tests. In an activated virtual environment with the development tools installed, inside the package directory, run:
shell
coverage run
This runs tests and stores the result in a .coverage file.
To see the results on the command line, run
shell
coverage report
coverage can also generate output in HTML and other formats; see coverage help for more information.
Running linters locally
For linting we will use prospector and to sort imports we will use isort. Running the linters requires an activated virtual environment with the development tools installed.
```shell
linter
prospector
recursively check import style for the scikit-talk module only
isort --check-only scikit-talk
recursively check import style for the scikit-talk module only and show
any proposed changes as a diff
isort --check-only --diff scikit-talk
recursively fix import style for the scikit-talk module only
isort scikit-talk ```
To fix readability of your code style you can use yapf.
You can enable automatic linting with prospector and isort on commit by enabling the git hook from .githooks/pre-commit, like so:
shell
git config --local core.hooksPath .githooks
Generating the API docs
shell
cd docs
make html
The documentation will be in docs/_build/html
If you do not have make use
shell
sphinx-build -b html docs docs/_build/html
To find undocumented Python objects run
shell
cd docs
make coverage
cat _build/coverage/python.txt
To test snippets in documentation run
shell
cd docs
make doctest
Versioning
Bumping the version across all files is done with bumpversion, e.g.
shell
bumpversion major
bumpversion minor
bumpversion patch
Making a release
This section describes how to make a release in 3 parts:
- preparation
- making a release on GitHub
- verification
(1/3) Preparation
- Update the
(don't forget to update links at bottom of page) - Verify that the information in
CITATION.cffis correct - Make sure the version has been updated.
- Run the unit tests with
pytest -v
(2/3) Release on GitHub
Releases start on GitHub.
Open releases and draft a new release.
Copy the changelog for this version into the description.
Tag the release according to semantic versioning guidelines, preceded with a v (e.g.: v1.0.0).
The release title is the tag and the release date together (e.g.: v1.0.0 (2019-07-25)).
The Zenodo integration will take care of updating the Zenodo record with a new release. Releasing on GitHub will also automatically trigger the publication of the release to PyPI, through a Github Action. To verify that everything works as expected, it is recommended to first publish a release candidate (see below).
[!NOTE]
Release candidates
When releasing a release candidate on Github, tick the pre-release box, and amend the version tag with
-rcand the candidate number (e.g. v1.0.0-rc1). Ensure the release candidate version is accurate inCITATION.cff. Versions with "rc" (release candidate) in their version tag will only be published to test.PyPI. Other version tags will trigger a PyPI release. Inspect.github/workflows/publish-pypi.ymlfor more information.
(3/3) Verification
- Verify the publication to testPyPI or PyPI (depending on the version tag).
- Confirm that the released package can be installed
- from PyPI with
pip install scikit-talk - from test.PyPI with
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/test-scikit-talk
- from PyPI with
- The release should have triggered a Zenodo upload. Confirm that the Zenodo record has been updated.
Owner
- Name: elpaco-escience
- Login: elpaco-escience
- Kind: organization
- Location: Netherlands
- Website: https://research-software-directory.org/projects/diversity-aware
- Repositories: 1
- Profile: https://github.com/elpaco-escience
Citation (CITATION.cff)
# YAML 1.2
---
cff-version: "1.2.0"
title: "scikit-talk"
authors:
-
family-names: Vreede
given-names: Barbara
orcid: "https://orcid.org/0000-0002-5023-4601"
-
family-names: Liesenfeld
given-names: Andreas
orcid: "https://orcid.org/0000-0001-6076-4406"
-
family-names: Gabor
given-names: Parti
-
family-names: Dingemanse
given-names: Mark
orcid: "https://orcid.org/0000-0002-3290-5723"
-
family-names: Schnober
given-names: Carsten
orcid: "https://orcid.org/0000-0001-9139-1577"
-
family-names: De Kleijn
given-names: Maurice
-
family-names: Qi
given-names: Ji
orcid: "https://orcid.org/0000-0001-8074-2730"
date-released: 2024-01-05
doi: 10.5281/zenodo.10462997
version: "0.1.1"
repository-code: "https://github.com/elpaco-escience/scikit-talk"
keywords:
- conversation
- language corpora
- turn-taking
message: "If you use this software, please cite the original paper DOI:10.18653/v1/2021.sigdial-1.26"
license: Apache-2.0
GitHub Events
Total
- Issues event: 2
- Watch event: 3
- Issue comment event: 7
- Push event: 3
- Pull request event: 1
- Fork event: 2
- Create event: 1
Last Year
- Issues event: 2
- Watch event: 3
- Issue comment event: 7
- Push event: 3
- Pull request event: 1
- Fork event: 2
- Create event: 1
Packages
- Total packages: 1
-
Total downloads:
- pypi 57 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 10
- Total maintainers: 4
pypi.org: scikit-talk
Short description of package
- Homepage: https://github.com/elpaco-escience/scikit-talk
- Documentation: https://scikit-talk.readthedocs.io/
- License: Apache Software License
-
Latest release: 0.1.1
published over 2 years ago
Rankings
Maintainers (4)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v3 composite
- actions/checkout v2 composite
- citation-file-format/cffconvert-github-action 2.0.0 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- SonarSource/sonarcloud-github-action master composite
- actions/checkout v3 composite
- actions/setup-python v3 composite
- actions/checkout v4 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- pypa/gh-action-pypi-publish release/v1 composite