lyrics-transcriber 0.55.1__py3-none-any.whl → 0.56.0__py3-none-any.whl
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.
- lyrics_transcriber/correction/anchor_sequence.py +8 -1
- lyrics_transcriber/frontend/package.json +1 -1
- lyrics_transcriber/frontend/tsconfig.tsbuildinfo +1 -1
- lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js +38929 -0
- lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js.map +1 -0
- lyrics_transcriber/frontend/web_assets/index.html +13 -0
- lyrics_transcriber/frontend/web_assets/vite.svg +1 -0
- lyrics_transcriber/types.py +11 -6
- {lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/METADATA +1 -1
- {lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/RECORD +13 -10
- lyrics_transcriber/frontend/.yarn/install-state.gz +0 -0
- {lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/LICENSE +0 -0
- {lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/WHEEL +0 -0
- {lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8" />
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7
|
+
<title>Lyrics Transcriber Analyzer</title>
|
8
|
+
<script type="module" crossorigin src="/assets/index-B35iaySc.js"></script>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div id="root"></div>
|
12
|
+
</body>
|
13
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
lyrics_transcriber/types.py
CHANGED
@@ -365,13 +365,18 @@ class AnchorSequence:
|
|
365
365
|
"""Create AnchorSequence from dictionary."""
|
366
366
|
# Handle both old and new dictionary formats
|
367
367
|
if "words" in data:
|
368
|
-
# Old format -
|
368
|
+
# Old format - convert to new format without setting _words
|
369
|
+
# This ensures to_dict() always returns the new format
|
370
|
+
words = data["words"]
|
369
371
|
return cls(
|
370
|
-
data
|
371
|
-
|
372
|
-
data["
|
373
|
-
data["
|
374
|
-
|
372
|
+
id=data.get("id", WordUtils.generate_id()),
|
373
|
+
transcribed_word_ids=[WordUtils.generate_id() for _ in words],
|
374
|
+
transcription_position=data["transcription_position"],
|
375
|
+
reference_positions=data["reference_positions"],
|
376
|
+
reference_word_ids={source: [WordUtils.generate_id() for _ in words]
|
377
|
+
for source in data["reference_positions"].keys()},
|
378
|
+
confidence=data["confidence"],
|
379
|
+
# Don't set _words - this ensures we always use the new format
|
375
380
|
)
|
376
381
|
else:
|
377
382
|
# New format
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: lyrics-transcriber
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.56.0
|
4
4
|
Summary: Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify
|
5
5
|
License: MIT
|
6
6
|
Author: Andrew Beveridge
|
@@ -4,7 +4,7 @@ lyrics_transcriber/cli/cli_main.py,sha256=kMWoV_89KRD2XAU39Brs2rdkbQmG6OxrEn7SAh
|
|
4
4
|
lyrics_transcriber/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
lyrics_transcriber/core/config.py,sha256=euwOOtuNbXy4-a1xs8QKdjcf5jXZQle0zf6X1Wthurw,1229
|
6
6
|
lyrics_transcriber/core/controller.py,sha256=66qwIv-2jEW94wU5RVFRIcfrTyszC-aC_Fcx5dCjG7k,20255
|
7
|
-
lyrics_transcriber/correction/anchor_sequence.py,sha256=
|
7
|
+
lyrics_transcriber/correction/anchor_sequence.py,sha256=Bz08zB8yS8orz73aA5dDyNUgBBU87KtQM6yOZGNDoFI,32228
|
8
8
|
lyrics_transcriber/correction/corrector.py,sha256=wwSLHat4SGKEJffFQVcmSfMN_I8Drv-jpeTkO8ndLu0,20930
|
9
9
|
lyrics_transcriber/correction/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
lyrics_transcriber/correction/handlers/base.py,sha256=ZXYMFgbCmlD62dpqdFwFPlcePdHKEFrABffnG_Mu5mI,1687
|
@@ -22,14 +22,13 @@ lyrics_transcriber/correction/handlers/word_operations.py,sha256=410xhyO9tiqezV5
|
|
22
22
|
lyrics_transcriber/correction/phrase_analyzer.py,sha256=dtO_2LjxnPdHJM7De40mYIdHCkozwhizVVQp5XGO7x0,16962
|
23
23
|
lyrics_transcriber/correction/text_utils.py,sha256=7QHK6-PY7Rx1G1E31sWiLBw00mHorRDo-M44KMHFaZs,833
|
24
24
|
lyrics_transcriber/frontend/.gitignore,sha256=lgGIPiVpFVUNSZl9oNQLelLOWUzpF7sikLW8xmsrrqI,248
|
25
|
-
lyrics_transcriber/frontend/.yarn/install-state.gz,sha256=6vJFgjhE-YJdptZzzsA46Jy7BloCWmM5e9mRQSa3yiI,345896
|
26
25
|
lyrics_transcriber/frontend/.yarn/releases/yarn-4.7.0.cjs,sha256=KTYy2KCV2OpHhussV5jIPDdUSr7RftMRhqPsRUmgfAY,2765465
|
27
26
|
lyrics_transcriber/frontend/.yarnrc.yml,sha256=0hZQ1OTcPqTUNBqQeme4VFkIzrsabHNzLtc_M-wSgIM,66
|
28
27
|
lyrics_transcriber/frontend/README.md,sha256=-D6CAfKTT7Y0V3EjlZ2fMy7fyctFQ4x2TJ9vx6xtccM,1607
|
29
28
|
lyrics_transcriber/frontend/__init__.py,sha256=nW8acRSWTjXoRwGqcTU4w-__X7tMAE0iXL0uihBN3CU,836
|
30
29
|
lyrics_transcriber/frontend/eslint.config.js,sha256=3ADH23ANA4NNBKFy6nCVk65e8bx1DrVd_FIaYNnhuqA,734
|
31
30
|
lyrics_transcriber/frontend/index.html,sha256=KfqJVONzpUyPIwV73nZRiCWlwLnFWeB3z0vzxDPNudU,376
|
32
|
-
lyrics_transcriber/frontend/package.json,sha256=
|
31
|
+
lyrics_transcriber/frontend/package.json,sha256=KQCOhygDWRj4Iu6SnZevVy8yfHMyAHeRnLNjWrkP69M,1182
|
33
32
|
lyrics_transcriber/frontend/public/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
34
33
|
lyrics_transcriber/frontend/src/App.tsx,sha256=f1-dp-MU8vap18eAXacwVDO5P4eE2iG9zSvjau-7NJs,6533
|
35
34
|
lyrics_transcriber/frontend/src/api.ts,sha256=UgqPc1jo8DEVgxh3_9Lyf9GBsHYpqMAqsPEE5BzTV4w,6640
|
@@ -78,11 +77,15 @@ lyrics_transcriber/frontend/src/vite-env.d.ts,sha256=ZZlpNvuwQpFfe3SiAPzd5-QQ8yp
|
|
78
77
|
lyrics_transcriber/frontend/tsconfig.app.json,sha256=7aUBVcaBqEtmtfQXsbwsgBxSUng06xzQi5t4QCgWQ3E,665
|
79
78
|
lyrics_transcriber/frontend/tsconfig.json,sha256=AOS5v1AsNPL3wGc8bt58Ybh8HHpbYrlK91q0KIzaSgs,627
|
80
79
|
lyrics_transcriber/frontend/tsconfig.node.json,sha256=oMBhK5xufBrVE7SkbADRxA3pxm8_L9m5YwtCOZSafsc,536
|
81
|
-
lyrics_transcriber/frontend/tsconfig.tsbuildinfo,sha256=
|
80
|
+
lyrics_transcriber/frontend/tsconfig.tsbuildinfo,sha256=dfth6XXC9DMQphnHuyDnzShaA8qVykZeXz6Afa_XQVY,1593
|
82
81
|
lyrics_transcriber/frontend/update_version.js,sha256=PxkqCnsucXnXiIqutsanVcx00Gq4k7pgCYj_uXCa4qw,411
|
83
82
|
lyrics_transcriber/frontend/vite.config.d.ts,sha256=S5bdGf0pSdKM6A6RNBKwAm3EIeW_bDHYfHtesRtXU7Q,76
|
84
83
|
lyrics_transcriber/frontend/vite.config.js,sha256=P4GuPgRZzwEWPQZpyujUe7eA3mjPoFAe2CgE5sQAXg8,232
|
85
84
|
lyrics_transcriber/frontend/vite.config.ts,sha256=8FdW0dN8zDFqfhQSxX5h7sIu72X2piLYlp_TZYRQvBQ,216
|
85
|
+
lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js,sha256=OtJPKBFoFobGPG0tJMMsahHHjTp3jzR_6V6_Q8pWPno,1257959
|
86
|
+
lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js.map,sha256=81Yn75gt_IW3tYAELztHSWL5H2DVknkaJEppzHfQxD0,2678465
|
87
|
+
lyrics_transcriber/frontend/web_assets/index.html,sha256=Nh8gylcOVXGZ5QPgv8L2eLhRcXpmPUPZIW9oQ6CvL1w,400
|
88
|
+
lyrics_transcriber/frontend/web_assets/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
86
89
|
lyrics_transcriber/frontend/yarn.lock,sha256=wtImLsCO1P1Lpkhc1jAN6IiHQ0As4xn39n0cwKoh4LM,131996
|
87
90
|
lyrics_transcriber/lyrics/base_lyrics_provider.py,sha256=mqlqssKG2AofvqEU48nCwLnz0FhO9Ee6MNixF6GBnYY,9133
|
88
91
|
lyrics_transcriber/lyrics/file_provider.py,sha256=WNd6mHMV2FhrnHiWBvxUxPkdVi47mbLE4hXaTYqStTM,4290
|
@@ -146,10 +149,10 @@ lyrics_transcriber/storage/dropbox.py,sha256=Dyam1ULTkoxD1X5trkZ5dGp5XhBGCn998mo
|
|
146
149
|
lyrics_transcriber/transcribers/audioshake.py,sha256=hLlnRfkYldP8Y0dMCCwjYlLwqUZPAP7Xzk59G3u5bq0,8939
|
147
150
|
lyrics_transcriber/transcribers/base_transcriber.py,sha256=T3m4ZCwZ9Bpv6Jvb2hNcnllk-lmeNmADDJlSySBtP1Q,6480
|
148
151
|
lyrics_transcriber/transcribers/whisper.py,sha256=YcCB1ic9H6zL1GS0jD0emu8-qlcH0QVEjjjYB4aLlIQ,13260
|
149
|
-
lyrics_transcriber/types.py,sha256=
|
152
|
+
lyrics_transcriber/types.py,sha256=JofMYus_Nopy7tiKZ4mFZWbxLYDrg514daP7bkvh1-Q,27746
|
150
153
|
lyrics_transcriber/utils/word_utils.py,sha256=-cMGpj9UV4F6IsoDKAV2i1aiqSO8eI91HMAm_igtVMk,958
|
151
|
-
lyrics_transcriber-0.
|
152
|
-
lyrics_transcriber-0.
|
153
|
-
lyrics_transcriber-0.
|
154
|
-
lyrics_transcriber-0.
|
155
|
-
lyrics_transcriber-0.
|
154
|
+
lyrics_transcriber-0.56.0.dist-info/LICENSE,sha256=81R_4XwMZDODHD7JcZeUR8IiCU8AD7Ajl6bmwR9tYDk,1074
|
155
|
+
lyrics_transcriber-0.56.0.dist-info/METADATA,sha256=ZSfUeVikwPyJNn-NvdclPInE7Ns5YsvEiWb1NHT7QKI,6637
|
156
|
+
lyrics_transcriber-0.56.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
157
|
+
lyrics_transcriber-0.56.0.dist-info/entry_points.txt,sha256=kcp-bSFkCACAEA0t166Kek0HpaJUXRo5SlF5tVrqNBU,216
|
158
|
+
lyrics_transcriber-0.56.0.dist-info/RECORD,,
|
Binary file
|
File without changes
|
File without changes
|
{lyrics_transcriber-0.55.1.dist-info → lyrics_transcriber-0.56.0.dist-info}/entry_points.txt
RENAMED
File without changes
|