rustling 0.8.0__tar.gz → 0.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rustling-0.8.0 → rustling-0.9.0}/.github/dependabot.yml +4 -0
- {rustling-0.8.0 → rustling-0.9.0}/.github/workflows/build-wheel.yml +1 -1
- {rustling-0.8.0 → rustling-0.9.0}/.github/workflows/python.yml +20 -12
- {rustling-0.8.0 → rustling-0.9.0}/.github/workflows/release.yml +15 -7
- {rustling-0.8.0 → rustling-0.9.0}/.github/workflows/rust.yml +4 -4
- {rustling-0.8.0 → rustling-0.9.0}/CHANGELOG.md +7 -0
- rustling-0.9.0/CITATION.cff +12 -0
- {rustling-0.8.0 → rustling-0.9.0}/Cargo.lock +227 -387
- {rustling-0.8.0 → rustling-0.9.0}/Cargo.toml +4 -4
- {rustling-0.8.0 → rustling-0.9.0}/PKG-INFO +4 -3
- {rustling-0.8.0 → rustling-0.9.0}/README.md +2 -1
- {rustling-0.8.0 → rustling-0.9.0}/pyproject.toml +1 -1
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/transcriptions.rst +41 -15
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/index.rst +6 -2
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/requirements.txt +20 -19
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/chat/__init__.pyi +18 -14
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/conllu/__init__.pyi +6 -6
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/elan/__init__.pyi +6 -6
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/ngram/__init__.pyi +4 -4
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/srt/__init__.pyi +5 -5
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/textgrid/__init__.pyi +8 -8
- {rustling-0.8.0 → rustling-0.9.0}/python/stubtest_allowlist.txt +0 -6
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_chat/test_chat.py +20 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/utterance.rs +63 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/utterance_py.rs +6 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/lib.rs +1 -1
- {rustling-0.8.0 → rustling-0.9.0}/src/lm/mod.rs +1 -2
- {rustling-0.8.0 → rustling-0.9.0}/src/trie.rs +2 -8
- {rustling-0.8.0 → rustling-0.9.0}/.flake8 +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/.gitattributes +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/.gitignore +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/.pre-commit-config.yaml +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/.readthedocs.yaml +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/LICENSE.md +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/README.md +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/common/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/common/data.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_chat.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_conllu.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_elan.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_hmm.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_lm.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_perceptron_pos_tagger.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_textgrid.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/run_wordseg.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/benchmarks/update_readme.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/build.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/Makefile +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/README.md +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/_static/brown_eve_mlum.png +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/_static/favicon.ico +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/_static/logo-with-text.svg +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/_templates/copyright.html +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/api.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/formats.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/frequencies.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/headers.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/measures.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/quickstart.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/read.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat/write.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/chat.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/conf.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/conllu.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/elan.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/hmm.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/lm.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/make.bat +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/ngram.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/perceptron_pos_tagger.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/srt.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/textgrid.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/docs/wordseg.rst +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/_lib_name.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/chat/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/chat/_read_chat.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/conllu/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/conllu/_read_conllu.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/elan/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/elan/_read_elan.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/hmm/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/hmm/__init__.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/lm/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/lm/__init__.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/ngram/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/perceptron_pos_tagger/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/perceptron_pos_tagger/__init__.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/py.typed +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/seq_feature/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/seq_feature/__init__.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/srt/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/srt/_read_srt.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/textgrid/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/textgrid/_read_textgrid.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/wordseg/__init__.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/rustling/wordseg/__init__.pyi +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_benchmarks.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_chat/conftest.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_conllu/conftest.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_conllu/test_conllu.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_elan/conftest.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_elan/test_elan.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_hmm.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_lm.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_ngram.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_perceptron_pos_tagger.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_textgrid/conftest.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_textgrid/test_textgrid.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_wordseg/test_dag_hmm_segmenter.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_wordseg/test_hmm_segmenter.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_wordseg/test_longest_string_matching.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/python/tests/test_wordseg/test_random_segmenter.py +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/clean_utterance.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/conllu_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/elan_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/header.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/header_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/ipsyn.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/reader.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/reader_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/srt_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/textgrid_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/chat/validation.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/conllu/chat_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/conllu/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/conllu/reader_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/chat_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/reader.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/reader_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/srt_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/elan/textgrid_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/hmm/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/hmm/model.fbs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/hmm/model_generated.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/hmm/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/lm/model.fbs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/lm/model_generated.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/lm/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/ngram/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/ngram/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/perceptron_pos_tagger/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/perceptron_pos_tagger/model.fbs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/perceptron_pos_tagger/model_generated.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/perceptron_pos_tagger/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/persistence.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/prelude.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/seq_feature/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/seq_feature/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/sources/cache.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/sources/git.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/sources/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/sources/url.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/srt/chat_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/srt/elan_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/srt/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/srt/reader_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/srt/textgrid_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/chat_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/elan_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/reader.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/reader_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/textgrid/srt_writer.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/bmes.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/dag_hmm.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/dag_hmm_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/hmm.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/hmm_py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/model.fbs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/model_generated.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/py.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/mod.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/random_segmenter.rs +0 -0
- {rustling-0.8.0 → rustling-0.9.0}/src/wordseg/random_segmenter_py.rs +0 -0
|
@@ -5,10 +5,14 @@ updates:
|
|
|
5
5
|
schedule:
|
|
6
6
|
interval: "weekly"
|
|
7
7
|
|
|
8
|
+
# Python deps in pyproject.toml are pinned loosely and updated by hand.
|
|
9
|
+
# A limit of 0 disables version-update PRs while still allowing
|
|
10
|
+
# Dependabot *security* updates, which ignore this setting.
|
|
8
11
|
- package-ecosystem: "pip"
|
|
9
12
|
directory: "/"
|
|
10
13
|
schedule:
|
|
11
14
|
interval: "weekly"
|
|
15
|
+
open-pull-requests-limit: 0
|
|
12
16
|
|
|
13
17
|
- package-ecosystem: "github-actions"
|
|
14
18
|
directory: "/"
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
name: Lint
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@v7
|
|
17
17
|
|
|
18
18
|
- name: Install FlatBuffers compiler
|
|
19
19
|
run: |
|
|
@@ -23,7 +23,7 @@ jobs:
|
|
|
23
23
|
sudo mv flatc /usr/local/bin/
|
|
24
24
|
|
|
25
25
|
- name: Install uv
|
|
26
|
-
uses: astral-sh/setup-uv@
|
|
26
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
27
27
|
|
|
28
28
|
- name: Set up Python
|
|
29
29
|
run: uv python install ${{ env.PYTHON_VERSION }}
|
|
@@ -44,7 +44,7 @@ jobs:
|
|
|
44
44
|
matrix:
|
|
45
45
|
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
46
46
|
steps:
|
|
47
|
-
- uses: actions/checkout@
|
|
47
|
+
- uses: actions/checkout@v7
|
|
48
48
|
|
|
49
49
|
- name: Install FlatBuffers compiler
|
|
50
50
|
run: |
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
sudo mv flatc /usr/local/bin/
|
|
55
55
|
|
|
56
56
|
- name: Install uv
|
|
57
|
-
uses: astral-sh/setup-uv@
|
|
57
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
58
58
|
|
|
59
59
|
- name: Set up Python ${{ matrix.python-version }}
|
|
60
60
|
run: uv python install ${{ matrix.python-version }}
|
|
@@ -82,10 +82,10 @@ jobs:
|
|
|
82
82
|
name: Audit
|
|
83
83
|
runs-on: ubuntu-latest
|
|
84
84
|
steps:
|
|
85
|
-
- uses: actions/checkout@
|
|
85
|
+
- uses: actions/checkout@v7
|
|
86
86
|
|
|
87
87
|
- name: Install uv
|
|
88
|
-
uses: astral-sh/setup-uv@
|
|
88
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
89
89
|
|
|
90
90
|
- name: Audit dev dependencies
|
|
91
91
|
run: uv export --no-hashes --group dev | uvx pip-audit -r /dev/stdin --desc
|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
95
95
|
name: Build source distribution (release readiness check)
|
|
96
96
|
runs-on: ubuntu-latest
|
|
97
97
|
steps:
|
|
98
|
-
- uses: actions/checkout@
|
|
98
|
+
- uses: actions/checkout@v7
|
|
99
99
|
|
|
100
100
|
- name: Build sdist
|
|
101
101
|
uses: PyO3/maturin-action@v1
|
|
@@ -127,7 +127,7 @@ jobs:
|
|
|
127
127
|
- os: windows-latest
|
|
128
128
|
target: x86_64
|
|
129
129
|
steps:
|
|
130
|
-
- uses: actions/checkout@
|
|
130
|
+
- uses: actions/checkout@v7
|
|
131
131
|
|
|
132
132
|
- name: Install FlatBuffers compiler (macOS)
|
|
133
133
|
if: runner.os == 'macOS'
|
|
@@ -162,7 +162,7 @@ jobs:
|
|
|
162
162
|
name: Build wasm32-unknown-emscripten wheel (release readiness check)
|
|
163
163
|
runs-on: ubuntu-latest
|
|
164
164
|
steps:
|
|
165
|
-
- uses: actions/checkout@
|
|
165
|
+
- uses: actions/checkout@v7
|
|
166
166
|
|
|
167
167
|
- name: Install FlatBuffers compiler
|
|
168
168
|
run: |
|
|
@@ -188,7 +188,7 @@ jobs:
|
|
|
188
188
|
uses: Swatinem/rust-cache@v2
|
|
189
189
|
|
|
190
190
|
- name: Install Emscripten SDK
|
|
191
|
-
uses:
|
|
191
|
+
uses: emscripten-core/setup-emsdk@v16
|
|
192
192
|
with:
|
|
193
193
|
version: "4.0.9"
|
|
194
194
|
actions-cache-folder: emsdk-cache
|
|
@@ -200,10 +200,18 @@ jobs:
|
|
|
200
200
|
# not JavaScript, so the check is unnecessary for side modules.
|
|
201
201
|
# Upstream: https://github.com/emscripten-core/emscripten/pull/24359
|
|
202
202
|
EMSCRIPTEN_DIR=$(em-config EMSCRIPTEN_ROOT)
|
|
203
|
-
|
|
203
|
+
python3 -c "
|
|
204
|
+
import pathlib
|
|
205
|
+
p = pathlib.Path('$EMSCRIPTEN_DIR/tools/emscripten.py')
|
|
206
|
+
code = p.read_text()
|
|
207
|
+
old = ''' for n in unexpected_exports:\n if not n.isidentifier():\n exit_with_error(f'invalid export name: {n}')'''
|
|
208
|
+
new = ''' if not settings.SIDE_MODULE:\n for n in unexpected_exports:\n if not n.isidentifier():\n exit_with_error(f'invalid export name: {n}')'''
|
|
209
|
+
assert old in code, 'Patch target not found in emscripten.py — upstream may have changed'
|
|
210
|
+
p.write_text(code.replace(old, new))
|
|
211
|
+
"
|
|
204
212
|
|
|
205
213
|
- name: Install uv
|
|
206
|
-
uses: astral-sh/setup-uv@
|
|
214
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
207
215
|
|
|
208
216
|
- name: Build wasm wheel
|
|
209
217
|
env:
|
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
name: Python - Build source distribution
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v7
|
|
19
19
|
|
|
20
20
|
- name: Build sdist
|
|
21
21
|
uses: PyO3/maturin-action@v1
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
52
52
|
- os: windows-latest
|
|
53
53
|
target: x86_64
|
|
54
54
|
steps:
|
|
55
|
-
- uses: actions/checkout@
|
|
55
|
+
- uses: actions/checkout@v7
|
|
56
56
|
|
|
57
57
|
- name: Install FlatBuffers compiler (macOS)
|
|
58
58
|
if: runner.os == 'macOS'
|
|
@@ -92,7 +92,7 @@ jobs:
|
|
|
92
92
|
name: Python - Build wasm32-unknown-emscripten wheel
|
|
93
93
|
runs-on: ubuntu-latest
|
|
94
94
|
steps:
|
|
95
|
-
- uses: actions/checkout@
|
|
95
|
+
- uses: actions/checkout@v7
|
|
96
96
|
|
|
97
97
|
- name: Install FlatBuffers compiler
|
|
98
98
|
run: |
|
|
@@ -118,7 +118,7 @@ jobs:
|
|
|
118
118
|
uses: Swatinem/rust-cache@v2
|
|
119
119
|
|
|
120
120
|
- name: Install Emscripten SDK
|
|
121
|
-
uses:
|
|
121
|
+
uses: emscripten-core/setup-emsdk@v16
|
|
122
122
|
with:
|
|
123
123
|
version: "4.0.9"
|
|
124
124
|
actions-cache-folder: emsdk-cache
|
|
@@ -130,10 +130,18 @@ jobs:
|
|
|
130
130
|
# not JavaScript, so the check is unnecessary for side modules.
|
|
131
131
|
# Upstream: https://github.com/emscripten-core/emscripten/pull/24359
|
|
132
132
|
EMSCRIPTEN_DIR=$(em-config EMSCRIPTEN_ROOT)
|
|
133
|
-
|
|
133
|
+
python3 -c "
|
|
134
|
+
import pathlib
|
|
135
|
+
p = pathlib.Path('$EMSCRIPTEN_DIR/tools/emscripten.py')
|
|
136
|
+
code = p.read_text()
|
|
137
|
+
old = ''' for n in unexpected_exports:\n if not n.isidentifier():\n exit_with_error(f'invalid export name: {n}')'''
|
|
138
|
+
new = ''' if not settings.SIDE_MODULE:\n for n in unexpected_exports:\n if not n.isidentifier():\n exit_with_error(f'invalid export name: {n}')'''
|
|
139
|
+
assert old in code, 'Patch target not found in emscripten.py — upstream may have changed'
|
|
140
|
+
p.write_text(code.replace(old, new))
|
|
141
|
+
"
|
|
134
142
|
|
|
135
143
|
- name: Install uv
|
|
136
|
-
uses: astral-sh/setup-uv@
|
|
144
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
137
145
|
|
|
138
146
|
- name: Build wasm wheel
|
|
139
147
|
env:
|
|
@@ -195,7 +203,7 @@ jobs:
|
|
|
195
203
|
permissions:
|
|
196
204
|
id-token: write
|
|
197
205
|
steps:
|
|
198
|
-
- uses: actions/checkout@
|
|
206
|
+
- uses: actions/checkout@v7
|
|
199
207
|
|
|
200
208
|
- name: Install FlatBuffers compiler
|
|
201
209
|
run: |
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
name: Lint
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@v7
|
|
17
17
|
|
|
18
18
|
- name: Install FlatBuffers compiler
|
|
19
19
|
run: |
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
name: Test
|
|
38
38
|
runs-on: ubuntu-latest
|
|
39
39
|
steps:
|
|
40
|
-
- uses: actions/checkout@
|
|
40
|
+
- uses: actions/checkout@v7
|
|
41
41
|
|
|
42
42
|
- name: Install FlatBuffers compiler
|
|
43
43
|
run: |
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
sudo mv flatc /usr/local/bin/
|
|
48
48
|
|
|
49
49
|
- name: Set up Python
|
|
50
|
-
uses: actions/setup-python@
|
|
50
|
+
uses: actions/setup-python@v7
|
|
51
51
|
with:
|
|
52
52
|
python-version: "3.14"
|
|
53
53
|
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
name: Audit
|
|
62
62
|
runs-on: ubuntu-latest
|
|
63
63
|
steps:
|
|
64
|
-
- uses: actions/checkout@
|
|
64
|
+
- uses: actions/checkout@v7
|
|
65
65
|
|
|
66
66
|
- name: Install Rust toolchain
|
|
67
67
|
uses: dtolnay/rust-toolchain@stable
|
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.0] - 2026-07-20
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- CHAT data: New attribute `Utterance.annotated` for the main tier transcription
|
|
15
|
+
with all TalkBank annotations preserved
|
|
16
|
+
|
|
10
17
|
## [0.8.0] - 2026-03-20
|
|
11
18
|
|
|
12
19
|
### Added
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use this software, please cite it as below."
|
|
3
|
+
title: Rustling
|
|
4
|
+
abstract: "A high-performance library for computational linguistics"
|
|
5
|
+
type: software
|
|
6
|
+
authors:
|
|
7
|
+
- family-names: Lee
|
|
8
|
+
given-names: Jackson L.
|
|
9
|
+
repository-code: "https://github.com/jacksonllee/rustling"
|
|
10
|
+
url: "https://docs.rustling.io/"
|
|
11
|
+
license: MIT
|
|
12
|
+
doi: "10.5281/zenodo.19140734"
|