rustling 0.7.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.
Files changed (182) hide show
  1. {rustling-0.7.0 → rustling-0.9.0}/.github/dependabot.yml +4 -0
  2. {rustling-0.7.0 → rustling-0.9.0}/.github/workflows/build-wheel.yml +1 -1
  3. {rustling-0.7.0 → rustling-0.9.0}/.github/workflows/python.yml +20 -12
  4. {rustling-0.7.0 → rustling-0.9.0}/.github/workflows/release.yml +15 -7
  5. {rustling-0.7.0 → rustling-0.9.0}/.github/workflows/rust.yml +4 -4
  6. {rustling-0.7.0 → rustling-0.9.0}/.gitignore +3 -0
  7. {rustling-0.7.0 → rustling-0.9.0}/CHANGELOG.md +20 -0
  8. rustling-0.9.0/CITATION.cff +12 -0
  9. {rustling-0.7.0 → rustling-0.9.0}/Cargo.lock +237 -400
  10. {rustling-0.7.0 → rustling-0.9.0}/Cargo.toml +4 -3
  11. {rustling-0.7.0 → rustling-0.9.0}/PKG-INFO +25 -28
  12. {rustling-0.7.0 → rustling-0.9.0}/README.md +23 -26
  13. rustling-0.9.0/benchmarks/README.md +132 -0
  14. rustling-0.9.0/benchmarks/run_conllu.py +300 -0
  15. rustling-0.9.0/benchmarks/run_elan.py +299 -0
  16. rustling-0.9.0/benchmarks/run_textgrid.py +320 -0
  17. rustling-0.7.0/benchmarks/update_docs.py → rustling-0.9.0/benchmarks/update_readme.py +86 -66
  18. {rustling-0.7.0 → rustling-0.9.0}/pyproject.toml +3 -1
  19. rustling-0.9.0/python/docs/_static/brown_eve_mlum.png +0 -0
  20. {rustling-0.7.0 → rustling-0.9.0}/python/docs/api.rst +4 -0
  21. rustling-0.9.0/python/docs/chat/formats.rst +219 -0
  22. rustling-0.9.0/python/docs/chat/frequencies.rst +99 -0
  23. rustling-0.9.0/python/docs/chat/headers.rst +171 -0
  24. rustling-0.9.0/python/docs/chat/measures.rst +62 -0
  25. rustling-0.9.0/python/docs/chat/quickstart.rst +349 -0
  26. rustling-0.9.0/python/docs/chat/read.rst +479 -0
  27. rustling-0.9.0/python/docs/chat/transcriptions.rst +652 -0
  28. rustling-0.9.0/python/docs/chat/write.rst +48 -0
  29. rustling-0.9.0/python/docs/chat.rst +19 -0
  30. rustling-0.9.0/python/docs/conllu.rst +221 -0
  31. rustling-0.9.0/python/docs/elan.rst +275 -0
  32. rustling-0.9.0/python/docs/index.rst +108 -0
  33. {rustling-0.7.0 → rustling-0.9.0}/python/docs/requirements.txt +20 -19
  34. rustling-0.9.0/python/docs/srt.rst +240 -0
  35. rustling-0.9.0/python/docs/textgrid.rst +288 -0
  36. rustling-0.9.0/python/rustling/__init__.py +36 -0
  37. rustling-0.9.0/python/rustling/_lib_name.pyi +3 -0
  38. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/chat/__init__.py +2 -0
  39. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/chat/__init__.pyi +334 -25
  40. rustling-0.9.0/python/rustling/chat/_read_chat.py +78 -0
  41. rustling-0.9.0/python/rustling/conllu/__init__.py +13 -0
  42. rustling-0.9.0/python/rustling/conllu/__init__.pyi +326 -0
  43. rustling-0.9.0/python/rustling/conllu/_read_conllu.py +53 -0
  44. rustling-0.9.0/python/rustling/elan/__init__.py +19 -0
  45. rustling-0.9.0/python/rustling/elan/__init__.pyi +442 -0
  46. rustling-0.9.0/python/rustling/elan/_read_elan.py +53 -0
  47. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/ngram/__init__.pyi +4 -4
  48. rustling-0.9.0/python/rustling/srt/__init__.py +11 -0
  49. rustling-0.9.0/python/rustling/srt/__init__.pyi +345 -0
  50. rustling-0.9.0/python/rustling/srt/_read_srt.py +53 -0
  51. rustling-0.9.0/python/rustling/textgrid/__init__.py +23 -0
  52. rustling-0.9.0/python/rustling/textgrid/__init__.pyi +348 -0
  53. rustling-0.9.0/python/rustling/textgrid/_read_textgrid.py +54 -0
  54. {rustling-0.7.0 → rustling-0.9.0}/python/stubtest_allowlist.txt +25 -0
  55. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_chat/test_chat.py +173 -26
  56. rustling-0.9.0/python/tests/test_conllu/conftest.py +45 -0
  57. rustling-0.9.0/python/tests/test_conllu/test_conllu.py +276 -0
  58. rustling-0.9.0/python/tests/test_elan/conftest.py +33 -0
  59. rustling-0.9.0/python/tests/test_elan/test_elan.py +546 -0
  60. rustling-0.9.0/python/tests/test_textgrid/conftest.py +0 -0
  61. rustling-0.9.0/python/tests/test_textgrid/test_textgrid.py +398 -0
  62. rustling-0.9.0/src/chat/conllu_writer.rs +147 -0
  63. rustling-0.9.0/src/chat/elan_writer.rs +486 -0
  64. {rustling-0.7.0 → rustling-0.9.0}/src/chat/mod.rs +4 -0
  65. {rustling-0.7.0 → rustling-0.9.0}/src/chat/reader.rs +380 -39
  66. {rustling-0.7.0 → rustling-0.9.0}/src/chat/reader_py.rs +239 -9
  67. rustling-0.9.0/src/chat/srt_writer.rs +324 -0
  68. rustling-0.9.0/src/chat/textgrid_writer.rs +201 -0
  69. {rustling-0.7.0 → rustling-0.9.0}/src/chat/utterance.rs +63 -0
  70. {rustling-0.7.0 → rustling-0.9.0}/src/chat/utterance_py.rs +6 -0
  71. {rustling-0.7.0 → rustling-0.9.0}/src/chat/validation.rs +35 -5
  72. rustling-0.9.0/src/conllu/chat_writer.rs +222 -0
  73. rustling-0.9.0/src/conllu/mod.rs +885 -0
  74. rustling-0.9.0/src/conllu/reader_py.rs +547 -0
  75. rustling-0.9.0/src/elan/chat_writer.rs +414 -0
  76. rustling-0.9.0/src/elan/mod.rs +32 -0
  77. rustling-0.9.0/src/elan/reader.rs +1182 -0
  78. rustling-0.9.0/src/elan/reader_py.rs +629 -0
  79. rustling-0.9.0/src/elan/srt_writer.rs +242 -0
  80. rustling-0.9.0/src/elan/textgrid_writer.rs +155 -0
  81. {rustling-0.7.0 → rustling-0.9.0}/src/lib.rs +11 -1
  82. {rustling-0.7.0 → rustling-0.9.0}/src/lm/mod.rs +1 -2
  83. rustling-0.9.0/src/sources/cache.rs +76 -0
  84. rustling-0.9.0/src/sources/git.rs +123 -0
  85. rustling-0.9.0/src/sources/mod.rs +57 -0
  86. rustling-0.9.0/src/sources/url.rs +68 -0
  87. rustling-0.9.0/src/srt/chat_writer.rs +140 -0
  88. rustling-0.9.0/src/srt/elan_writer.rs +211 -0
  89. rustling-0.9.0/src/srt/mod.rs +986 -0
  90. rustling-0.9.0/src/srt/reader_py.rs +523 -0
  91. rustling-0.9.0/src/srt/textgrid_writer.rs +122 -0
  92. rustling-0.9.0/src/textgrid/chat_writer.rs +219 -0
  93. rustling-0.9.0/src/textgrid/elan_writer.rs +245 -0
  94. rustling-0.9.0/src/textgrid/mod.rs +34 -0
  95. rustling-0.9.0/src/textgrid/reader.rs +1691 -0
  96. rustling-0.9.0/src/textgrid/reader_py.rs +750 -0
  97. rustling-0.9.0/src/textgrid/srt_writer.rs +208 -0
  98. {rustling-0.7.0 → rustling-0.9.0}/src/trie.rs +2 -8
  99. rustling-0.7.0/benchmarks/README.md +0 -89
  100. rustling-0.7.0/python/docs/chat.rst +0 -7
  101. rustling-0.7.0/python/docs/index.rst +0 -123
  102. rustling-0.7.0/python/rustling/__init__.py +0 -11
  103. {rustling-0.7.0 → rustling-0.9.0}/.flake8 +0 -0
  104. {rustling-0.7.0 → rustling-0.9.0}/.gitattributes +0 -0
  105. {rustling-0.7.0 → rustling-0.9.0}/.pre-commit-config.yaml +0 -0
  106. {rustling-0.7.0 → rustling-0.9.0}/.readthedocs.yaml +0 -0
  107. {rustling-0.7.0 → rustling-0.9.0}/LICENSE.md +0 -0
  108. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/common/__init__.py +0 -0
  109. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/common/data.py +0 -0
  110. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/run_chat.py +0 -0
  111. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/run_hmm.py +0 -0
  112. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/run_lm.py +0 -0
  113. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/run_perceptron_pos_tagger.py +0 -0
  114. {rustling-0.7.0 → rustling-0.9.0}/benchmarks/run_wordseg.py +0 -0
  115. {rustling-0.7.0 → rustling-0.9.0}/build.rs +0 -0
  116. {rustling-0.7.0 → rustling-0.9.0}/python/docs/Makefile +0 -0
  117. {rustling-0.7.0 → rustling-0.9.0}/python/docs/README.md +0 -0
  118. {rustling-0.7.0 → rustling-0.9.0}/python/docs/_static/favicon.ico +0 -0
  119. {rustling-0.7.0 → rustling-0.9.0}/python/docs/_static/logo-with-text.svg +0 -0
  120. {rustling-0.7.0 → rustling-0.9.0}/python/docs/_templates/copyright.html +0 -0
  121. {rustling-0.7.0 → rustling-0.9.0}/python/docs/conf.py +0 -0
  122. {rustling-0.7.0 → rustling-0.9.0}/python/docs/hmm.rst +0 -0
  123. {rustling-0.7.0 → rustling-0.9.0}/python/docs/lm.rst +0 -0
  124. {rustling-0.7.0 → rustling-0.9.0}/python/docs/make.bat +0 -0
  125. {rustling-0.7.0 → rustling-0.9.0}/python/docs/ngram.rst +0 -0
  126. {rustling-0.7.0 → rustling-0.9.0}/python/docs/perceptron_pos_tagger.rst +0 -0
  127. {rustling-0.7.0 → rustling-0.9.0}/python/docs/wordseg.rst +0 -0
  128. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/hmm/__init__.py +0 -0
  129. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/hmm/__init__.pyi +0 -0
  130. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/lm/__init__.py +0 -0
  131. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/lm/__init__.pyi +0 -0
  132. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/ngram/__init__.py +0 -0
  133. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/perceptron_pos_tagger/__init__.py +0 -0
  134. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/perceptron_pos_tagger/__init__.pyi +0 -0
  135. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/py.typed +0 -0
  136. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/seq_feature/__init__.py +0 -0
  137. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/seq_feature/__init__.pyi +0 -0
  138. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/wordseg/__init__.py +0 -0
  139. {rustling-0.7.0 → rustling-0.9.0}/python/rustling/wordseg/__init__.pyi +0 -0
  140. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_benchmarks.py +0 -0
  141. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_chat/conftest.py +0 -0
  142. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_hmm.py +0 -0
  143. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_lm.py +0 -0
  144. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_ngram.py +0 -0
  145. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_perceptron_pos_tagger.py +0 -0
  146. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_wordseg/test_dag_hmm_segmenter.py +0 -0
  147. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_wordseg/test_hmm_segmenter.py +0 -0
  148. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_wordseg/test_longest_string_matching.py +0 -0
  149. {rustling-0.7.0 → rustling-0.9.0}/python/tests/test_wordseg/test_random_segmenter.py +0 -0
  150. {rustling-0.7.0 → rustling-0.9.0}/src/chat/clean_utterance.rs +0 -0
  151. {rustling-0.7.0 → rustling-0.9.0}/src/chat/header.rs +0 -0
  152. {rustling-0.7.0 → rustling-0.9.0}/src/chat/header_py.rs +0 -0
  153. {rustling-0.7.0 → rustling-0.9.0}/src/chat/ipsyn.rs +0 -0
  154. {rustling-0.7.0 → rustling-0.9.0}/src/hmm/mod.rs +0 -0
  155. {rustling-0.7.0 → rustling-0.9.0}/src/hmm/model.fbs +0 -0
  156. {rustling-0.7.0 → rustling-0.9.0}/src/hmm/model_generated.rs +0 -0
  157. {rustling-0.7.0 → rustling-0.9.0}/src/hmm/py.rs +0 -0
  158. {rustling-0.7.0 → rustling-0.9.0}/src/lm/model.fbs +0 -0
  159. {rustling-0.7.0 → rustling-0.9.0}/src/lm/model_generated.rs +0 -0
  160. {rustling-0.7.0 → rustling-0.9.0}/src/lm/py.rs +0 -0
  161. {rustling-0.7.0 → rustling-0.9.0}/src/ngram/mod.rs +0 -0
  162. {rustling-0.7.0 → rustling-0.9.0}/src/ngram/py.rs +0 -0
  163. {rustling-0.7.0 → rustling-0.9.0}/src/perceptron_pos_tagger/mod.rs +0 -0
  164. {rustling-0.7.0 → rustling-0.9.0}/src/perceptron_pos_tagger/model.fbs +0 -0
  165. {rustling-0.7.0 → rustling-0.9.0}/src/perceptron_pos_tagger/model_generated.rs +0 -0
  166. {rustling-0.7.0 → rustling-0.9.0}/src/perceptron_pos_tagger/py.rs +0 -0
  167. {rustling-0.7.0 → rustling-0.9.0}/src/persistence.rs +0 -0
  168. {rustling-0.7.0 → rustling-0.9.0}/src/prelude.rs +0 -0
  169. {rustling-0.7.0 → rustling-0.9.0}/src/seq_feature/mod.rs +0 -0
  170. {rustling-0.7.0 → rustling-0.9.0}/src/seq_feature/py.rs +0 -0
  171. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/bmes.rs +0 -0
  172. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/dag_hmm.rs +0 -0
  173. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/dag_hmm_py.rs +0 -0
  174. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/hmm.rs +0 -0
  175. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/hmm_py.rs +0 -0
  176. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/mod.rs +0 -0
  177. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/model.fbs +0 -0
  178. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/model_generated.rs +0 -0
  179. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/longest_string_matching/py.rs +0 -0
  180. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/mod.rs +0 -0
  181. {rustling-0.7.0 → rustling-0.9.0}/src/wordseg/random_segmenter.rs +0 -0
  182. {rustling-0.7.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: "/"
@@ -16,7 +16,7 @@ jobs:
16
16
  name: Build manylinux x86_64 wheel
17
17
  runs-on: ubuntu-latest
18
18
  steps:
19
- - uses: actions/checkout@v6
19
+ - uses: actions/checkout@v7
20
20
  with:
21
21
  ref: ${{ github.event.inputs.git_ref }}
22
22
 
@@ -13,7 +13,7 @@ jobs:
13
13
  name: Lint
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: actions/checkout@v6
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@v7
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@v6
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@v7
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@v6
85
+ - uses: actions/checkout@v7
86
86
 
87
87
  - name: Install uv
88
- uses: astral-sh/setup-uv@v7
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@v6
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@v6
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@v6
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: mymindstorm/setup-emsdk@v14
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
- curl -sL https://raw.githubusercontent.com/pyodide/pyodide/refs/heads/main/emsdk/patches/0002-Don-t-check-exports-for-being-valid-C-C-identifiers-.patch | git -C "$EMSCRIPTEN_DIR" apply
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@v7
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@v6
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@v6
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@v6
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: mymindstorm/setup-emsdk@v14
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
- curl -sL https://raw.githubusercontent.com/pyodide/pyodide/refs/heads/main/emsdk/patches/0002-Don-t-check-exports-for-being-valid-C-C-identifiers-.patch | git -C "$EMSCRIPTEN_DIR" apply
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@v7
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@v6
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@v6
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@v6
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@v6
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@v6
64
+ - uses: actions/checkout@v7
65
65
 
66
66
  - name: Install Rust toolchain
67
67
  uses: dtolnay/rust-toolchain@stable
@@ -77,3 +77,6 @@ benchmarks/.results/
77
77
  # This is a library, not an application.
78
78
  Cargo.lock
79
79
  uv.lock
80
+
81
+ # From maturin develop
82
+ python/rustling/librustling.dylib.dSYM/
@@ -7,6 +7,26 @@ 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
+
17
+ ## [0.8.0] - 2026-03-20
18
+
19
+ ### Added
20
+
21
+ - Support for data formats:
22
+ * CoNLL-U for Universal Dependencies
23
+ * ELAN for annotated multimedia data
24
+ * TextGrid for Praat annotations
25
+ * SRT for subtitles
26
+ - CHAT data handling:
27
+ * Added a convenience function `read_chat.
28
+ * Added `from_git` and `from_url` methods for remote data sources.
29
+
10
30
  ## [0.7.0] - 2026-03-14
11
31
 
12
32
  ### 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"