@absolutejs/voice 0.0.18 → 0.0.19
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.
- package/fixtures/README.md +33 -0
- package/fixtures/manifest.json +40 -0
- package/fixtures/pcm/stella-ghana-english507.pcm +0 -0
- package/fixtures/pcm/stella-india-english37.pcm +0 -0
- package/fixtures/pcm/stella-pakistan-english519.pcm +0 -0
- package/fixtures/pcm/stella-singapore-english655.pcm +0 -0
- package/package.json +4 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
## Bundled Fixtures
|
|
2
|
+
|
|
3
|
+
This directory contains small public benchmark fixtures for `@absolutejs/voice`.
|
|
4
|
+
|
|
5
|
+
### Sources
|
|
6
|
+
|
|
7
|
+
- `quietly-alone-clean.pcm`
|
|
8
|
+
- `traveled-back-route-clean.pcm`
|
|
9
|
+
- `rainstorms-noisy.pcm`
|
|
10
|
+
|
|
11
|
+
These are derived from public-domain LibriSpeech material, with the noisy variant created by mixing synthetic noise into a clean base utterance for adapter comparison.
|
|
12
|
+
|
|
13
|
+
- `stella-india-english37.pcm`
|
|
14
|
+
- `stella-ghana-english507.pcm`
|
|
15
|
+
- `stella-singapore-english655.pcm`
|
|
16
|
+
- `stella-pakistan-english519.pcm`
|
|
17
|
+
|
|
18
|
+
These are derived from the Speech Accent Archive at George Mason University using the shared "Please call Stella..." elicitation paragraph.
|
|
19
|
+
|
|
20
|
+
Archive:
|
|
21
|
+
|
|
22
|
+
- https://accent.gmu.edu/
|
|
23
|
+
|
|
24
|
+
License:
|
|
25
|
+
|
|
26
|
+
- https://creativecommons.org/licenses/by-nc-sa/2.0/
|
|
27
|
+
|
|
28
|
+
Selected speaker pages:
|
|
29
|
+
|
|
30
|
+
- https://accent.gmu.edu/browse_language.php?function=detail&speakerid=96
|
|
31
|
+
- https://accent.gmu.edu/browse_language.php?function=detail&speakerid=1800
|
|
32
|
+
- https://accent.gmu.edu/browse_language.php?function=detail&speakerid=3033
|
|
33
|
+
- https://accent.gmu.edu/browse_language.php?function=detail&speakerid=1882
|
package/fixtures/manifest.json
CHANGED
|
@@ -28,5 +28,45 @@
|
|
|
28
28
|
"chunkDurationMs": 100,
|
|
29
29
|
"difficulty": "noisy",
|
|
30
30
|
"tags": ["noisy", "long", "synthetic-noise", "librispeech"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "stella-india-english37",
|
|
34
|
+
"title": "International English accent from India",
|
|
35
|
+
"audioPath": "stella-india-english37.pcm",
|
|
36
|
+
"expectedText": "PLEASE CALL STELLA ASK HER TO BRING THESE THINGS WITH HER FROM THE STORE SIX SPOONS OF FRESH SNOW PEAS FIVE THICK SLABS OF BLUE CHEESE AND MAYBE A SNACK FOR HER BROTHER BOB WE ALSO NEED A SMALL PLASTIC SNAKE AND A BIG TOY FROG FOR THE KIDS SHE CAN SCOOP THESE THINGS INTO THREE RED BAGS AND WE WILL GO MEET HER WEDNESDAY AT THE TRAIN STATION",
|
|
37
|
+
"expectedTerms": ["stella", "snow peas", "blue cheese", "brother bob", "plastic snake", "toy frog", "three red bags", "train station"],
|
|
38
|
+
"chunkDurationMs": 100,
|
|
39
|
+
"difficulty": "challenging",
|
|
40
|
+
"tags": ["accent", "challenging", "india", "international", "speech-accent-archive"]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "stella-ghana-english507",
|
|
44
|
+
"title": "International English accent from Ghana",
|
|
45
|
+
"audioPath": "stella-ghana-english507.pcm",
|
|
46
|
+
"expectedText": "PLEASE CALL STELLA ASK HER TO BRING THESE THINGS WITH HER FROM THE STORE SIX SPOONS OF FRESH SNOW PEAS FIVE THICK SLABS OF BLUE CHEESE AND MAYBE A SNACK FOR HER BROTHER BOB WE ALSO NEED A SMALL PLASTIC SNAKE AND A BIG TOY FROG FOR THE KIDS SHE CAN SCOOP THESE THINGS INTO THREE RED BAGS AND WE WILL GO MEET HER WEDNESDAY AT THE TRAIN STATION",
|
|
47
|
+
"expectedTerms": ["stella", "snow peas", "blue cheese", "brother bob", "plastic snake", "toy frog", "three red bags", "train station"],
|
|
48
|
+
"chunkDurationMs": 100,
|
|
49
|
+
"difficulty": "challenging",
|
|
50
|
+
"tags": ["accent", "challenging", "ghana", "international", "speech-accent-archive"]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "stella-singapore-english655",
|
|
54
|
+
"title": "International English accent from Singapore",
|
|
55
|
+
"audioPath": "stella-singapore-english655.pcm",
|
|
56
|
+
"expectedText": "PLEASE CALL STELLA ASK HER TO BRING THESE THINGS WITH HER FROM THE STORE SIX SPOONS OF FRESH SNOW PEAS FIVE THICK SLABS OF BLUE CHEESE AND MAYBE A SNACK FOR HER BROTHER BOB WE ALSO NEED A SMALL PLASTIC SNAKE AND A BIG TOY FROG FOR THE KIDS SHE CAN SCOOP THESE THINGS INTO THREE RED BAGS AND WE WILL GO MEET HER WEDNESDAY AT THE TRAIN STATION",
|
|
57
|
+
"expectedTerms": ["stella", "snow peas", "blue cheese", "brother bob", "plastic snake", "toy frog", "three red bags", "train station"],
|
|
58
|
+
"chunkDurationMs": 100,
|
|
59
|
+
"difficulty": "challenging",
|
|
60
|
+
"tags": ["accent", "challenging", "international", "singapore", "speech-accent-archive"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "stella-pakistan-english519",
|
|
64
|
+
"title": "International English accent from Pakistan",
|
|
65
|
+
"audioPath": "stella-pakistan-english519.pcm",
|
|
66
|
+
"expectedText": "PLEASE CALL STELLA ASK HER TO BRING THESE THINGS WITH HER FROM THE STORE SIX SPOONS OF FRESH SNOW PEAS FIVE THICK SLABS OF BLUE CHEESE AND MAYBE A SNACK FOR HER BROTHER BOB WE ALSO NEED A SMALL PLASTIC SNAKE AND A BIG TOY FROG FOR THE KIDS SHE CAN SCOOP THESE THINGS INTO THREE RED BAGS AND WE WILL GO MEET HER WEDNESDAY AT THE TRAIN STATION",
|
|
67
|
+
"expectedTerms": ["stella", "snow peas", "blue cheese", "brother bob", "plastic snake", "toy frog", "three red bags", "train station"],
|
|
68
|
+
"chunkDurationMs": 100,
|
|
69
|
+
"difficulty": "challenging",
|
|
70
|
+
"tags": ["accent", "challenging", "international", "pakistan", "speech-accent-archive"]
|
|
31
71
|
}
|
|
32
72
|
]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@absolutejs/voice",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "Voice primitives and Elysia plugin for AbsoluteJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,8 +16,11 @@
|
|
|
16
16
|
"license": "CC BY-NC 4.0",
|
|
17
17
|
"author": "Alex Kahn",
|
|
18
18
|
"scripts": {
|
|
19
|
+
"bench:accents": "bun run ./scripts/benchmark-stt.ts all accents",
|
|
19
20
|
"bench:assemblyai": "bun run ./scripts/benchmark-stt.ts assemblyai",
|
|
21
|
+
"bench:assemblyai:accents": "bun run ./scripts/benchmark-stt.ts assemblyai accents",
|
|
20
22
|
"bench:deepgram": "bun run ./scripts/benchmark-stt.ts deepgram",
|
|
23
|
+
"bench:deepgram:accents": "bun run ./scripts/benchmark-stt.ts deepgram accents",
|
|
21
24
|
"bench:stt": "bun run ./scripts/benchmark-stt.ts all",
|
|
22
25
|
"build": "rm -rf dist && bun build ./src/index.ts ./src/client/index.ts ./src/react/index.ts ./src/vue/index.ts ./src/svelte/index.ts ./src/angular/index.ts ./src/testing/index.ts --outdir dist --target bun --external elysia --external react --external vue --external @angular/core --external @absolutejs/absolute && bun build ./src/client/htmxBootstrap.ts --outdir dist/client --target browser --format esm && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
23
26
|
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,md}\"",
|