uchcharan 0.1.1 → 0.2.2
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/README.md +21 -11
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ echo "PNR 4521879630" | npx uchcharan --explain
|
|
|
79
79
|
|
|
80
80
|
## Roadmap
|
|
81
81
|
|
|
82
|
-
- [
|
|
82
|
+
- [x] Hosted HTTP API with a free tier: **https://uchcharan.dev**
|
|
83
83
|
- [ ] Gujarati, Tamil, Telugu, Bengali, Kannada
|
|
84
84
|
- [ ] Custom pronunciation dictionary for brand and place names (`Nashik`, `Paithani`)
|
|
85
85
|
- [ ] Plugins for ElevenLabs, Sarvam, Bolna and LiveKit pipelines
|
|
@@ -87,19 +87,29 @@ echo "PNR 4521879630" | npx uchcharan --explain
|
|
|
87
87
|
|
|
88
88
|
Contributions are welcome, especially from native speakers checking number words.
|
|
89
89
|
|
|
90
|
-
##
|
|
91
|
-
|
|
92
|
-
MIT
|
|
90
|
+
## Hosted API (no setup)
|
|
93
91
|
|
|
94
|
-
|
|
92
|
+
Don't want to run it yourself? Use the hosted API at **https://uchcharan.dev**. Try it in the browser at https://huggingface.co/spaces/Densa850/uchcharan.
|
|
95
93
|
|
|
96
94
|
```bash
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
curl -X POST https://uchcharan.dev/v1/normalize \
|
|
96
|
+
-H "content-type: application/json" -H "x-api-key: YOUR_KEY" \
|
|
99
97
|
-d '{"text":"₹2.5 crore, PNR 4521879630","lang":"hi"}'
|
|
100
98
|
```
|
|
101
99
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
| Plan | Requests/day | Price |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| No key | 500 | free |
|
|
103
|
+
| Free key | 2,000 | free |
|
|
104
|
+
| Starter | 50,000 | ₹999/month |
|
|
105
|
+
| Pro | 500,000 + custom pronunciations | ₹4,999/month |
|
|
106
|
+
|
|
107
|
+
Get a free key or upgrade at **https://uchcharan.dev**. Need help adding it to your voice bot? Email support@tathyo.com.
|
|
108
|
+
|
|
109
|
+
## Support this project
|
|
110
|
+
|
|
111
|
+
If uchcharan saves you time, you can [sponsor its development on GitHub](https://github.com/sponsors/densa850-lab). Sponsorship pays for new languages and rules.
|
|
112
|
+
|
|
113
|
+
## License
|
|
114
|
+
|
|
115
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uchcharan",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Make any TTS speak Indian text correctly. Normalizes ₹ amounts, lakh/crore, dates, times, phone numbers, PNR/OTP, %, units and acronyms into spoken Hindi and Marathi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"test": "node --test",
|
|
19
|
-
"demo": "node examples/demo.js"
|
|
20
|
-
"start": "node server/server.js",
|
|
21
|
-
"build:web": "node scripts/build-web.js"
|
|
19
|
+
"demo": "node examples/demo.js"
|
|
22
20
|
},
|
|
23
21
|
"engines": {
|
|
24
22
|
"node": ">=18"
|
|
@@ -35,5 +33,11 @@
|
|
|
35
33
|
"sarvam",
|
|
36
34
|
"ivr"
|
|
37
35
|
],
|
|
38
|
-
"license": "MIT"
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"homepage": "https://uchcharan.dev",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/densa850-lab/uchcharan.git"
|
|
41
|
+
},
|
|
42
|
+
"funding": "https://github.com/sponsors/densa850-lab"
|
|
39
43
|
}
|