text-processing-rs 0.3.4__cp39-abi3-win_amd64.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.
@@ -0,0 +1,5 @@
1
+ from .text_processing_rs import *
2
+
3
+ __doc__ = text_processing_rs.__doc__
4
+ if hasattr(text_processing_rs, "__all__"):
5
+ __all__ = text_processing_rs.__all__
@@ -0,0 +1,472 @@
1
+ Metadata-Version: 2.4
2
+ Name: text-processing-rs
3
+ Version: 0.3.4
4
+ License-File: LICENSE
5
+ License-File: NOTICE
6
+ Summary: Text normalization (TN) and inverse text normalization (ITN): convert between written and spoken forms, ported from NeMo
7
+ License: Apache-2.0
8
+ Requires-Python: >=3.9
9
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
10
+
11
+ # text-processing-rs
12
+
13
+ A Rust port of [NVIDIA NeMo Text Processing](https://github.com/NVIDIA/NeMo-text-processing) supporting both **Inverse Text Normalization (ITN)** and **Text Normalization (TN)**.
14
+
15
+ ## What it does
16
+
17
+ ### ITN: Spoken → Written
18
+
19
+ Converts spoken-form ASR output to written form:
20
+
21
+ | Input | Output |
22
+ |-------|--------|
23
+ | two hundred thirty two | 232 |
24
+ | five dollars and fifty cents | $5.50 |
25
+ | january fifth twenty twenty five | January 5, 2025 |
26
+ | quarter past two pm | 02:15 p.m. |
27
+ | one point five billion dollars | $1.5 billion |
28
+ | seventy two degrees fahrenheit | 72 °F |
29
+
30
+ ### TN: Written → Spoken
31
+
32
+ Converts written-form text to spoken form (useful for TTS preprocessing):
33
+
34
+ | Input | Output |
35
+ |-------|--------|
36
+ | 123 | one hundred twenty three |
37
+ | $5.50 | five dollars and fifty cents |
38
+ | January 5, 2025 | january fifth twenty twenty five |
39
+ | 2:30 PM | two thirty p m |
40
+ | 1st | first |
41
+ | 200 km/h | two hundred kilometers per hour |
42
+
43
+ ## Engines
44
+
45
+ With the `fst-engine` feature, every `normalize*` and `tn_normalize*` entry point
46
+ runs NeMo's own compiled grammars, so its output is NeMo's:
47
+
48
+ - **TN** matches `Normalizer(lang, deterministic=True)` byte for byte in en, de,
49
+ es, fr, hi, it, ja and zh.
50
+ - **ITN** matches `InverseNormalizer(lang)` (NeMo's default, `input_case="lower_cased"`)
51
+ byte for byte in en, de, es, fr, hi, ja and zh. NeMo's ITN expects unpunctuated
52
+ input, so punctuated ASR text then gets the punctuation post-processing NeMo
53
+ applies after TN (`January 5 , 2024 .` → `January 5, 2024.`).
54
+ - Custom rules apply ahead of NeMo's grammars.
55
+
56
+ The Swift XCFramework and the npm package are built with `fst-engine`. A crate
57
+ build without it, the ITN options NeMo doesn't have (`concat_compound_numbers`,
58
+ `disable_bare_second`, `small_numbers_as_words`) and
59
+ `set_rule_based_engine(true)` (Swift `setRuleBasedEngine`, WASM
60
+ `setRuleBasedEngine`, C `nemo_set_rule_based_engine`) use the rule-based taggers
61
+ instead. The grammars add about 12 MB to the binary (the npm WASM grows from 1.1
62
+ to 12.4 MB) and take 1–25 ms per sentence, where the taggers take microseconds. `scripts/export_nemo_grammars.py`
63
+ re-exports them from a NeMo checkout; see [docs/NEMO_PARITY.md](docs/NEMO_PARITY.md).
64
+
65
+ ## Usage
66
+
67
+ ### Rust
68
+
69
+ ```rust
70
+ use text_processing_rs::{normalize, tn_normalize};
71
+
72
+ // ITN: spoken → written
73
+ let result = normalize("two hundred");
74
+ assert_eq!(result, "200");
75
+
76
+ let result = normalize("five dollars and fifty cents");
77
+ assert_eq!(result, "$5.50");
78
+
79
+ // TN: written → spoken
80
+ let result = tn_normalize("$5.50");
81
+ assert_eq!(result, "five dollars and fifty cents");
82
+
83
+ let result = tn_normalize("123");
84
+ assert_eq!(result, "one hundred twenty three");
85
+ ```
86
+
87
+ ### JavaScript (WASM)
88
+
89
+ Build wasm artifacts:
90
+
91
+ ```bash
92
+ npm run wasm:build:node
93
+ npm run wasm:build:web
94
+ ```
95
+
96
+ Node usage:
97
+
98
+ ```javascript
99
+ import * as wasm from "./pkg-node/text_processing_rs.js";
100
+
101
+ console.log(wasm.normalize("two hundred")); // "200"
102
+ console.log(wasm.tnNormalize("$5.50")); // "five dollars and fifty cents"
103
+
104
+ wasm.addRule("gee pee tee", "GPT");
105
+ console.log(wasm.normalize("gee pee tee")); // "GPT"
106
+ ```
107
+
108
+ The packages include the `fst-engine` grammars, so source-aligned
109
+ compiled-FST TN (`tnFstNormalizeAligned`) is available too:
110
+
111
+ ```javascript
112
+ import * as wasm from "./pkg-node/text_processing_rs.js";
113
+
114
+ const { normalized, spans } = wasm.tnFstNormalizeAligned("The price is $1,234.56.", "en");
115
+ // spans[3]: { inputStart: 13, inputEnd: 22, original: "$1,234.56",
116
+ // normalized: "one thousand ... fifty six cents", kind: "money" }
117
+ // Offsets are UTF-8 byte offsets; slice new TextEncoder().encode(input).
118
+ ```
119
+
120
+ The generated npm package name is `@fluidinference/text-processing-rs`.
121
+
122
+ Web project usage (Vite / Next.js / webpack):
123
+
124
+ ```bash
125
+ npm install @fluidinference/text-processing-rs
126
+ ```
127
+
128
+ ```javascript
129
+ import init, * as wasm from "@fluidinference/text-processing-rs";
130
+
131
+ async function run() {
132
+ // Loads and initializes the .wasm module (required once at startup)
133
+ await init();
134
+
135
+ const itn = wasm.normalize("two hundred");
136
+ const tn = wasm.tnNormalize("$5.50");
137
+
138
+ console.log(itn); // "200"
139
+ console.log(tn); // "five dollars and fifty cents"
140
+
141
+ wasm.addRule("gee pee tee", "GPT");
142
+ console.log(wasm.normalize("gee pee tee")); // "GPT"
143
+ }
144
+
145
+ run();
146
+ ```
147
+
148
+ If your framework supports top-level `await`, you can initialize at module load time:
149
+
150
+ ```javascript
151
+ import init, * as wasm from "@fluidinference/text-processing-rs";
152
+ await init();
153
+ ```
154
+
155
+ The npm package is a browser (`--target web`) build, so in Node `await init()`
156
+ fails with `fetch failed`. Hand the `.wasm` bytes to `initSync` instead:
157
+
158
+ ```javascript
159
+ import { readFile } from "node:fs/promises";
160
+ import { initSync, tnNormalizeSentence } from "@fluidinference/text-processing-rs";
161
+
162
+ const wasmUrl = new URL(
163
+ "text_processing_rs_bg.wasm",
164
+ import.meta.resolve("@fluidinference/text-processing-rs")
165
+ );
166
+ initSync({ module: await readFile(wasmUrl) });
167
+ console.log(tnNormalizeSentence("I paid $5 for 23 items"));
168
+ ```
169
+
170
+ Sentence-level normalization scans for normalizable spans within a larger sentence:
171
+
172
+ ```rust
173
+ use text_processing_rs::{normalize_sentence, normalize_sentence_lang, tn_normalize_sentence};
174
+
175
+ // ITN sentence mode
176
+ let result = normalize_sentence("I have twenty one apples");
177
+ assert_eq!(result, "I have 21 apples");
178
+
179
+ // ITN sentence mode, language-aware ("en", "fr", "es", "de", "zh", "hi", "ja")
180
+ let result = normalize_sentence_lang("j'ai vingt et un ans", "fr");
181
+ assert_eq!(result, "j'ai 21 ans");
182
+
183
+ // TN sentence mode
184
+ let result = tn_normalize_sentence("I paid $5 for 23 items");
185
+ assert_eq!(result, "I paid five dollars for twenty three items");
186
+ ```
187
+
188
+ Compiled-FST TN can also retain the source range and semantic class for every
189
+ normalized span. Offsets are half-open UTF-8 byte offsets:
190
+
191
+ ```rust
192
+ use text_processing_rs::fst;
193
+
194
+ let result = fst::normalize_aligned("The price is $1,234.56.", "en").unwrap();
195
+ assert_eq!(
196
+ result.normalized,
197
+ "The price is one thousand two hundred and thirty four dollars fifty six cents."
198
+ );
199
+
200
+ let money = &result.spans[3];
201
+ assert_eq!(money.input_start, 13);
202
+ assert_eq!(money.input_end, 22);
203
+ assert_eq!(money.original, "$1,234.56");
204
+ assert_eq!(money.kind.as_str(), "money");
205
+ ```
206
+
207
+ Build this API with `--features fst-engine`. It uses the same compiled NeMo
208
+ classifier and verbalizer as `fst::<lang>::normalize`, rather than recovering
209
+ alignment by diffing the final strings.
210
+
211
+ ### Python
212
+
213
+ Install from the repository root with a Rust toolchain and Python 3.9 or newer.
214
+ The Maturin build enables the `python` feature and uses the rule-based engine
215
+ by default.
216
+
217
+ ```sh
218
+ python -m pip install .
219
+ ```
220
+
221
+ ```python
222
+ from text_processing_rs import itn_normalize_sentence_lang, tn_normalize_sentence_lang
223
+
224
+ # Inverse text normalization (ITN)
225
+ assert itn_normalize_sentence_lang("I have twenty one apples") == "I have 21 apples"
226
+ assert itn_normalize_sentence_lang("मेरे पास पच्चीस किताबें हैं।", lang="hi") == (
227
+ "मेरे पास २५ किताबें हैं।"
228
+ )
229
+
230
+ # Text normalization (TN)
231
+ assert tn_normalize_sentence_lang("I paid $5 for 23 items") == (
232
+ "I paid five dollars for twenty three items"
233
+ )
234
+ ```
235
+
236
+ `normalize_sentence_lang` is also available in Python as a compatibility alias
237
+ for `itn_normalize_sentence_lang`.
238
+
239
+ #### Build and release the Python package
240
+
241
+ With GNU Make, Rust, and Python 3.9 or newer with `venv` and `pip` available,
242
+ run these commands from the repository root.
243
+
244
+ ```sh
245
+ make build # Build a wheel and source archive in target/python-dist
246
+ make check # Validate both distribution formats
247
+ make install # Install the bindings into target/python-venv
248
+ make run # Run an ITN and a TN example
249
+ make test # Run Rust tests and check the installed Python bindings
250
+ ```
251
+
252
+ Preview the next version with `make next-version`. The preview uses the latest
253
+ stable version tag in `RELEASE_REPO` and suggests a patch bump when
254
+ there are committed or working-tree changes. Use `make next-version BUMP=minor`
255
+ for compatible API additions or `make next-version BUMP=major` for breaking
256
+ changes. The preview recognizes legacy `python-v` tags as version baselines.
257
+ The first release defaults to the Cargo package version. Commit messages can
258
+ be written in any format.
259
+
260
+ Set the chosen version in `Cargo.toml` and refresh `Cargo.lock` before publishing.
261
+
262
+ Authenticate GitHub CLI and push the commit containing the release workflow to
263
+ the release repository. `make release` publishes that commit as a GitHub release
264
+ on `sanjay7178/text-processing-rs` by default. Set `RELEASE_REPO` to use another
265
+ repository. The default tag is the Cargo package version with a `v` prefix,
266
+ such as `v0.3.4`. Set `RELEASE_TAG` to specify a tag for that package version.
267
+
268
+ `make release-dry-run` prints the repository, Cargo package version, tag, and
269
+ target commit, then runs the release tag and workflow checks.
270
+
271
+ ```sh
272
+ make release-dry-run
273
+ make release
274
+ ```
275
+
276
+ Publishing a release with a `v` tag triggers GitHub Actions to build, test, and
277
+ attach Linux, macOS, and Windows wheels and a source archive to the release.
278
+ The workflow then publishes those same files to PyPI through Trusted
279
+ Publishing.
280
+
281
+ Before the first PyPI release, add a
282
+ [pending Trusted Publisher](https://pypi.org/manage/account/publishing/) with
283
+ these settings.
284
+
285
+ | Field | Value |
286
+ | --- | --- |
287
+ | PyPI project name | `text-processing-rs` |
288
+ | GitHub owner | `sanjay7178` |
289
+ | GitHub repository | `text-processing-rs` |
290
+ | Workflow name | `python-release.yml` |
291
+ | Environment | `pypi` |
292
+
293
+ Once the package is on PyPI, install it with `python -m pip install text-processing-rs`.
294
+
295
+ ### Swift
296
+
297
+ ```swift
298
+ import NemoTextProcessing
299
+
300
+ // ITN: spoken → written
301
+ let result = NemoTextProcessing.normalize("two hundred")
302
+ // "200"
303
+
304
+ // TN: written → spoken
305
+ let spoken = NemoTextProcessing.tnNormalize("$5.50")
306
+ // "five dollars and fifty cents"
307
+
308
+ // Sentence modes
309
+ let itn = NemoTextProcessing.normalizeSentence("I have twenty one apples")
310
+ // "I have 21 apples"
311
+
312
+ // Language-aware ITN sentence mode ("en", "fr", "es", "de", "zh", "hi", "ja")
313
+ let itnFr = NemoTextProcessing.normalizeSentence("j'ai vingt et un ans", language: "fr")
314
+ // "j'ai 21 ans"
315
+
316
+ let tn = NemoTextProcessing.tnNormalizeSentence("I paid $5 for 23 items")
317
+ // "I paid five dollars for twenty three items"
318
+
319
+ if let aligned = NemoTextProcessing.tnNormalizeAligned(
320
+ "The price is $1,234.56.",
321
+ language: "en"
322
+ ) {
323
+ let money = aligned.spans[3]
324
+ // money.original == "$1,234.56"
325
+ // money.normalized == "one thousand ... dollars fifty six cents"
326
+ // money.inputRange == 13..<22, money.kind == "money"
327
+ }
328
+ ```
329
+
330
+ ### CLI
331
+
332
+ ```bash
333
+ # ITN
334
+ nemo-itn two hundred thirty two # → 232
335
+ nemo-itn -s "I have twenty one apples" # → I have 21 apples
336
+
337
+ # TN
338
+ nemo-tn 123 # → one hundred twenty three
339
+ nemo-tn '$5.50' # → five dollars and fifty cents
340
+ nemo-tn -s 'I paid $5 for 23 items' # → I paid five dollars for twenty three items
341
+
342
+ # Pipe from stdin
343
+ echo "2:30 PM" | nemo-tn # → two thirty p m
344
+ ```
345
+
346
+ ## Compatibility
347
+
348
+ With `fst-engine`, TN and ITN are byte-exact with NeMo (see [Engines](#engines)).
349
+ The tables below describe the rule-based taggers.
350
+
351
+ ### ITN (Spoken → Written)
352
+
353
+ **98.6% compatible** with NeMo text processing test suite (1200/1217 tests passing).
354
+
355
+ | Category | Status |
356
+ |----------|--------|
357
+ | Cardinal numbers | 100% |
358
+ | Ordinal numbers | 100% |
359
+ | Decimal numbers | 100% |
360
+ | Money | 100% |
361
+ | Measurements | 100% |
362
+ | Dates | 100% |
363
+ | Time | 97% |
364
+ | Electronic (email/URL) | 96% |
365
+ | Telephone/IP | 96% |
366
+ | Whitelist terms | 100% |
367
+
368
+ ### TN (Written → Spoken)
369
+
370
+ | Category | Examples |
371
+ |----------|----------|
372
+ | Cardinal numbers | `123` → `one hundred twenty three` |
373
+ | Ordinal numbers | `1st` → `first`, `21st` → `twenty first` |
374
+ | Decimal numbers | `3.14` → `three point one four` |
375
+ | Money | `$5.50` → `five dollars and fifty cents` |
376
+ | Measurements | `200 km/h` → `two hundred kilometers per hour` |
377
+ | Dates | `January 5, 2025` → `january fifth twenty twenty five` |
378
+ | Time | `2:30 PM` → `two thirty p m` |
379
+ | Electronic (email/URL) | `test@gmail.com` → `t e s t at g m a i l dot c o m` |
380
+ | Telephone | `123-456-7890` → `one two three, four five six, seven eight nine zero` |
381
+ | Whitelist terms | `Dr.` → `doctor`, `Mr.` → `mister` |
382
+
383
+ ## Features
384
+
385
+ - **ITN** (Inverse Text Normalization): spoken → written form for ASR post-processing
386
+ - **TN** (Text Normalization): written → spoken form for TTS preprocessing
387
+ - Cardinal and ordinal number conversion (both directions)
388
+ - Decimal numbers with scale words (million, billion)
389
+ - Currency formatting (USD, GBP, EUR, JPY, and more)
390
+ - Measurements including temperature (°C, °F, K) and data rates (gbps)
391
+ - Date parsing (multiple formats) and decade verbalization (1980s → nineteen eighties)
392
+ - Time parsing with AM/PM, 24-hour format, and timezone preservation
393
+ - Email and URL normalization
394
+ - Phone numbers, IP addresses, SSN
395
+ - Case preservation for proper nouns and abbreviations
396
+ - Sentence-level normalization with sliding window span matching
397
+ - Source-to-normalized span alignment with semantic classes (compiled FST)
398
+ - Custom rules for domain-specific terms
399
+ - C FFI for integration with Swift, Python, and other languages
400
+
401
+ ## Building
402
+
403
+ ### Rust
404
+
405
+ ```bash
406
+ cargo build
407
+ cargo test
408
+ ```
409
+
410
+ ### WASM + JavaScript
411
+
412
+ ```bash
413
+ # Build + smoke test (Node) + build browser artifact, both with fst-engine
414
+ npm run wasm:ci
415
+
416
+ # Create a tarball from the browser package
417
+ npm run wasm:pack
418
+
419
+ # Publish browser package to npm (requires npm auth)
420
+ npm run wasm:publish
421
+ ```
422
+
423
+ ### CLI Tools
424
+
425
+ ```bash
426
+ # Build the Rust library for this Mac's architecture.
427
+ RUST_TARGET="$(rustc -vV | sed -n 's/^host: //p')"
428
+ cargo build --release --target "$RUST_TARGET" --features "ffi,fst-engine"
429
+
430
+ # Build Swift CLI tools
431
+ cd swift-test && swift build
432
+ ```
433
+
434
+ Binaries are at `swift-test/.build/debug/nemo-itn`,
435
+ `swift-test/.build/debug/nemo-tn`, and
436
+ `swift-test/.build/debug/nemo-tn-aligned`.
437
+
438
+ #### nemo-tn-aligned
439
+ The aligned CLI emits compact JSON for argument input and JSON Lines for stdin:
440
+
441
+ ```bash
442
+ swift-test/.build/debug/nemo-tn-aligned --lang en 'The price is $1,234.56.'
443
+ # output: {"input":"The price is $1,234.56.","language":"en","normalized":"The price is one thousand two hundred and thirty four dollars fifty six cents.","spans":[{"input_end":3,"input_start":0,"kind":"word","normalized":"The","original":"The"},{"input_end":9,"input_start":4,"kind":"word","normalized":"price","original":"price"},{"input_end":12,"input_start":10,"kind":"word","normalized":"is","original":"is"},{"input_end":22,"input_start":13,"kind":"money","normalized":"one thousand two hundred and thirty four dollars fifty six cents","original":"$1,234.56"},{"input_end":23,"input_start":22,"kind":"punctuation","normalized":".","original":"."}]}
444
+ ```
445
+
446
+ Each result contains `input`, `language`, the complete `normalized` text, and
447
+ `spans` with `input_start`, `input_end`, `original`, `normalized`, and `kind`.
448
+ Offsets are half-open UTF-8 byte offsets.
449
+
450
+ ### Swift (XCFramework)
451
+
452
+ ```bash
453
+ # Install Rust targets
454
+ rustup target add aarch64-apple-darwin x86_64-apple-darwin
455
+ rustup target add aarch64-apple-ios aarch64-apple-ios-sim
456
+
457
+ # Build XCFramework
458
+ ./build-xcframework.sh
459
+ ```
460
+
461
+ Output:
462
+ - `output/NemoTextProcessing.xcframework` - Add to Xcode project
463
+ - `output/NemoTextProcessing.swift` - Swift wrapper
464
+
465
+ ## License
466
+
467
+ Apache 2.0
468
+
469
+ ## Acknowledgments
470
+
471
+ This project is a Rust implementation based on the inverse text normalization grammars from [NVIDIA NeMo Text Processing](https://github.com/NVIDIA/NeMo-text-processing). All credit for the original algorithms and test cases goes to the NVIDIA NeMo team.
472
+
@@ -0,0 +1,8 @@
1
+ text_processing_rs/__init__.py,sha256=ZA6-SENp_VXw6H2ZvfIiAvUWeTkxTDdlO1CLEEtNa10,155
2
+ text_processing_rs/text_processing_rs.pyd,sha256=Kh1MfZN5CbBoVEFPV1SeE-t4sXiZYMknwlxFbqkwhyg,1554944
3
+ text_processing_rs-0.3.4.dist-info/METADATA,sha256=7zzcMCNFVPio4Sg24jBxv-0szPZ9JPcrNE_gruVrKoU,16501
4
+ text_processing_rs-0.3.4.dist-info/WHEEL,sha256=xw8F9xBWUOgm5ym2S9tihj_bLJOb723bjhA0kdANo2I,95
5
+ text_processing_rs-0.3.4.dist-info/licenses/LICENSE,sha256=TGOb4NPUkmqIGVqff2uVopxbeX1DQtkEx-sK9rs9T6o,11545
6
+ text_processing_rs-0.3.4.dist-info/licenses/NOTICE,sha256=9D7DQswU0vGEabei2ZlDUjimcwW-tZwqRY7l1RhWZgg,1037
7
+ text_processing_rs-0.3.4.dist-info/sboms/text-processing-rs.cyclonedx.json,sha256=zm39SPSt6NlZ630eFGlKqNy57m86lGuhI4ilNSrXJHE,17553
8
+ text_processing_rs-0.3.4.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.16.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-abi3-win_amd64
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 FluidInference
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,24 @@
1
+ text-processing-rs
2
+ Copyright 2026 FluidInference
3
+
4
+ This product is a Rust port of NVIDIA NeMo Text Processing
5
+ (https://github.com/NVIDIA/NeMo-text-processing), which is licensed
6
+ under the Apache License, Version 2.0.
7
+
8
+ Copyright (c) NVIDIA CORPORATION & AFFILIATES.
9
+ Licensed under the Apache License, Version 2.0.
10
+
11
+ In addition, when built with the optional `fst-engine` feature, this
12
+ product includes and redistributes artifacts derived from NVIDIA NeMo
13
+ Text Processing (Apache-2.0, pinned commit
14
+ 1f1263579fe57ba7ed783cad3dddee710fcc5064):
15
+
16
+ * the compiled weighted-FST grammars under `grammars/` (exported from
17
+ NeMo's Pynini source), and
18
+ * the text-normalization test fixtures under `tests/fixtures/`
19
+ (copied from, or regenerated as the deterministic output of, NeMo's
20
+ `data_text_normalization` test cases).
21
+
22
+ This product's binary distributions (e.g. the published xcframework) also
23
+ statically link third-party libraries. See THIRD-PARTY-LICENSES.md for the
24
+ full list and their licenses.
@@ -0,0 +1,578 @@
1
+ {
2
+ "bomFormat": "CycloneDX",
3
+ "specVersion": "1.5",
4
+ "version": 1,
5
+ "serialNumber": "urn:uuid:0bd7d169-020a-4464-a264-4e8a2915bef2",
6
+ "metadata": {
7
+ "timestamp": "2026-11-25T12:13:55.578268100Z",
8
+ "tools": [
9
+ {
10
+ "vendor": "CycloneDX",
11
+ "name": "cargo-cyclonedx",
12
+ "version": "0.5.9"
13
+ }
14
+ ],
15
+ "component": {
16
+ "type": "library",
17
+ "bom-ref": "path+file:///D:/a/text-processing-rs/text-processing-rs#0.3.4",
18
+ "name": "text-processing-rs",
19
+ "version": "0.3.4",
20
+ "description": "Text normalization (TN) and inverse text normalization (ITN): convert between written and spoken forms, ported from NeMo",
21
+ "scope": "required",
22
+ "licenses": [
23
+ {
24
+ "expression": "Apache-2.0"
25
+ }
26
+ ],
27
+ "purl": "pkg:cargo/text-processing-rs@0.3.4?download_url=file://.",
28
+ "externalReferences": [
29
+ {
30
+ "type": "vcs",
31
+ "url": "https://github.com/FluidInference/text-processing-rs"
32
+ }
33
+ ],
34
+ "components": [
35
+ {
36
+ "type": "library",
37
+ "bom-ref": "path+file:///D:/a/text-processing-rs/text-processing-rs#0.3.4 bin-target-0",
38
+ "name": "text_processing_rs",
39
+ "version": "0.3.4",
40
+ "purl": "pkg:cargo/text-processing-rs@0.3.4?download_url=file://.#src/lib.rs"
41
+ }
42
+ ]
43
+ },
44
+ "properties": [
45
+ {
46
+ "name": "cdx:rustc:sbom:target:all_targets",
47
+ "value": "true"
48
+ }
49
+ ]
50
+ },
51
+ "components": [
52
+ {
53
+ "type": "library",
54
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
55
+ "name": "heck",
56
+ "version": "0.5.0",
57
+ "description": "heck is a case conversion library.",
58
+ "scope": "required",
59
+ "hashes": [
60
+ {
61
+ "alg": "SHA-256",
62
+ "content": "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
63
+ }
64
+ ],
65
+ "licenses": [
66
+ {
67
+ "expression": "MIT OR Apache-2.0"
68
+ }
69
+ ],
70
+ "purl": "pkg:cargo/heck@0.5.0",
71
+ "externalReferences": [
72
+ {
73
+ "type": "vcs",
74
+ "url": "https://github.com/withoutboats/heck"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "type": "library",
80
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#lazy_static@1.5.0",
81
+ "author": "Marvin Löbel <loebel.marvin@gmail.com>",
82
+ "name": "lazy_static",
83
+ "version": "1.5.0",
84
+ "description": "A macro for declaring lazily evaluated statics in Rust.",
85
+ "scope": "required",
86
+ "hashes": [
87
+ {
88
+ "alg": "SHA-256",
89
+ "content": "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
90
+ }
91
+ ],
92
+ "licenses": [
93
+ {
94
+ "expression": "MIT OR Apache-2.0"
95
+ }
96
+ ],
97
+ "purl": "pkg:cargo/lazy_static@1.5.0",
98
+ "externalReferences": [
99
+ {
100
+ "type": "documentation",
101
+ "url": "https://docs.rs/lazy_static"
102
+ },
103
+ {
104
+ "type": "vcs",
105
+ "url": "https://github.com/rust-lang-nursery/lazy-static.rs"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "type": "library",
111
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.186",
112
+ "author": "The Rust Project Developers",
113
+ "name": "libc",
114
+ "version": "0.2.186",
115
+ "description": "Raw FFI bindings to platform libraries like libc.",
116
+ "scope": "required",
117
+ "hashes": [
118
+ {
119
+ "alg": "SHA-256",
120
+ "content": "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
121
+ }
122
+ ],
123
+ "licenses": [
124
+ {
125
+ "expression": "MIT OR Apache-2.0"
126
+ }
127
+ ],
128
+ "purl": "pkg:cargo/libc@0.2.186",
129
+ "externalReferences": [
130
+ {
131
+ "type": "vcs",
132
+ "url": "https://github.com/rust-lang/libc"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "type": "library",
138
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4",
139
+ "author": "Aleksey Kladov <aleksey.kladov@gmail.com>",
140
+ "name": "once_cell",
141
+ "version": "1.21.4",
142
+ "description": "Single assignment cells and lazy values.",
143
+ "scope": "required",
144
+ "hashes": [
145
+ {
146
+ "alg": "SHA-256",
147
+ "content": "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
148
+ }
149
+ ],
150
+ "licenses": [
151
+ {
152
+ "expression": "MIT OR Apache-2.0"
153
+ }
154
+ ],
155
+ "purl": "pkg:cargo/once_cell@1.21.4",
156
+ "externalReferences": [
157
+ {
158
+ "type": "documentation",
159
+ "url": "https://docs.rs/once_cell"
160
+ },
161
+ {
162
+ "type": "vcs",
163
+ "url": "https://github.com/matklad/once_cell"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "type": "library",
169
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
170
+ "author": "David Tolnay <dtolnay@gmail.com>, Alex Crichton <alex@alexcrichton.com>",
171
+ "name": "proc-macro2",
172
+ "version": "1.0.106",
173
+ "description": "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.",
174
+ "scope": "required",
175
+ "hashes": [
176
+ {
177
+ "alg": "SHA-256",
178
+ "content": "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
179
+ }
180
+ ],
181
+ "licenses": [
182
+ {
183
+ "expression": "MIT OR Apache-2.0"
184
+ }
185
+ ],
186
+ "purl": "pkg:cargo/proc-macro2@1.0.106",
187
+ "externalReferences": [
188
+ {
189
+ "type": "documentation",
190
+ "url": "https://docs.rs/proc-macro2"
191
+ },
192
+ {
193
+ "type": "vcs",
194
+ "url": "https://github.com/dtolnay/proc-macro2"
195
+ }
196
+ ]
197
+ },
198
+ {
199
+ "type": "library",
200
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.30.1",
201
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
202
+ "name": "pyo3-build-config",
203
+ "version": "0.30.1",
204
+ "description": "Build configuration for the PyO3 ecosystem",
205
+ "scope": "excluded",
206
+ "hashes": [
207
+ {
208
+ "alg": "SHA-256",
209
+ "content": "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
210
+ }
211
+ ],
212
+ "licenses": [
213
+ {
214
+ "expression": "MIT OR Apache-2.0"
215
+ }
216
+ ],
217
+ "purl": "pkg:cargo/pyo3-build-config@0.30.1",
218
+ "externalReferences": [
219
+ {
220
+ "type": "website",
221
+ "url": "https://pyo3.rs/"
222
+ },
223
+ {
224
+ "type": "vcs",
225
+ "url": "https://github.com/pyo3/pyo3"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "type": "library",
231
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.30.1",
232
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
233
+ "name": "pyo3-ffi",
234
+ "version": "0.30.1",
235
+ "description": "Python-API bindings for the PyO3 ecosystem",
236
+ "scope": "required",
237
+ "hashes": [
238
+ {
239
+ "alg": "SHA-256",
240
+ "content": "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
241
+ }
242
+ ],
243
+ "licenses": [
244
+ {
245
+ "expression": "MIT OR Apache-2.0"
246
+ }
247
+ ],
248
+ "purl": "pkg:cargo/pyo3-ffi@0.30.1",
249
+ "externalReferences": [
250
+ {
251
+ "type": "website",
252
+ "url": "https://pyo3.rs/"
253
+ },
254
+ {
255
+ "type": "other",
256
+ "url": "python"
257
+ },
258
+ {
259
+ "type": "vcs",
260
+ "url": "https://github.com/pyo3/pyo3"
261
+ }
262
+ ]
263
+ },
264
+ {
265
+ "type": "library",
266
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.30.1",
267
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
268
+ "name": "pyo3-macros-backend",
269
+ "version": "0.30.1",
270
+ "description": "Code generation for PyO3 package",
271
+ "scope": "required",
272
+ "hashes": [
273
+ {
274
+ "alg": "SHA-256",
275
+ "content": "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
276
+ }
277
+ ],
278
+ "licenses": [
279
+ {
280
+ "expression": "MIT OR Apache-2.0"
281
+ }
282
+ ],
283
+ "purl": "pkg:cargo/pyo3-macros-backend@0.30.1",
284
+ "externalReferences": [
285
+ {
286
+ "type": "website",
287
+ "url": "https://pyo3.rs/"
288
+ },
289
+ {
290
+ "type": "vcs",
291
+ "url": "https://github.com/pyo3/pyo3"
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "type": "library",
297
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.30.1",
298
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
299
+ "name": "pyo3-macros",
300
+ "version": "0.30.1",
301
+ "description": "Proc macros for PyO3 package",
302
+ "scope": "required",
303
+ "hashes": [
304
+ {
305
+ "alg": "SHA-256",
306
+ "content": "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
307
+ }
308
+ ],
309
+ "licenses": [
310
+ {
311
+ "expression": "MIT OR Apache-2.0"
312
+ }
313
+ ],
314
+ "purl": "pkg:cargo/pyo3-macros@0.30.1",
315
+ "externalReferences": [
316
+ {
317
+ "type": "website",
318
+ "url": "https://pyo3.rs/"
319
+ },
320
+ {
321
+ "type": "vcs",
322
+ "url": "https://github.com/pyo3/pyo3"
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "type": "library",
328
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.30.1",
329
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
330
+ "name": "pyo3",
331
+ "version": "0.30.1",
332
+ "description": "Bindings to Python interpreter",
333
+ "scope": "required",
334
+ "hashes": [
335
+ {
336
+ "alg": "SHA-256",
337
+ "content": "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
338
+ }
339
+ ],
340
+ "licenses": [
341
+ {
342
+ "expression": "MIT OR Apache-2.0"
343
+ }
344
+ ],
345
+ "purl": "pkg:cargo/pyo3@0.30.1",
346
+ "externalReferences": [
347
+ {
348
+ "type": "documentation",
349
+ "url": "https://docs.rs/crate/pyo3/"
350
+ },
351
+ {
352
+ "type": "website",
353
+ "url": "https://pyo3.rs/"
354
+ },
355
+ {
356
+ "type": "other",
357
+ "url": "pyo3-python"
358
+ },
359
+ {
360
+ "type": "vcs",
361
+ "url": "https://github.com/pyo3/pyo3"
362
+ }
363
+ ]
364
+ },
365
+ {
366
+ "type": "library",
367
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.46",
368
+ "author": "David Tolnay <dtolnay@gmail.com>",
369
+ "name": "quote",
370
+ "version": "1.0.46",
371
+ "description": "Quasi-quoting macro quote!(...)",
372
+ "scope": "required",
373
+ "hashes": [
374
+ {
375
+ "alg": "SHA-256",
376
+ "content": "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
377
+ }
378
+ ],
379
+ "licenses": [
380
+ {
381
+ "expression": "MIT OR Apache-2.0"
382
+ }
383
+ ],
384
+ "purl": "pkg:cargo/quote@1.0.46",
385
+ "externalReferences": [
386
+ {
387
+ "type": "documentation",
388
+ "url": "https://docs.rs/quote/"
389
+ },
390
+ {
391
+ "type": "vcs",
392
+ "url": "https://github.com/dtolnay/quote"
393
+ }
394
+ ]
395
+ },
396
+ {
397
+ "type": "library",
398
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#syn@3.0.10",
399
+ "author": "David Tolnay <dtolnay@gmail.com>",
400
+ "name": "syn",
401
+ "version": "3.0.10",
402
+ "description": "Parser for Rust source code",
403
+ "scope": "required",
404
+ "hashes": [
405
+ {
406
+ "alg": "SHA-256",
407
+ "content": "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
408
+ }
409
+ ],
410
+ "licenses": [
411
+ {
412
+ "expression": "MIT OR Apache-2.0"
413
+ }
414
+ ],
415
+ "purl": "pkg:cargo/syn@3.0.10",
416
+ "externalReferences": [
417
+ {
418
+ "type": "documentation",
419
+ "url": "https://docs.rs/syn"
420
+ },
421
+ {
422
+ "type": "vcs",
423
+ "url": "https://github.com/dtolnay/syn"
424
+ }
425
+ ]
426
+ },
427
+ {
428
+ "type": "library",
429
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.6",
430
+ "author": "Dan Gohman <sunfish@mozilla.com>",
431
+ "name": "target-lexicon",
432
+ "version": "0.13.6",
433
+ "description": "LLVM target triple types",
434
+ "scope": "excluded",
435
+ "hashes": [
436
+ {
437
+ "alg": "SHA-256",
438
+ "content": "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
439
+ }
440
+ ],
441
+ "licenses": [
442
+ {
443
+ "expression": "Apache-2.0 WITH LLVM-exception"
444
+ }
445
+ ],
446
+ "purl": "pkg:cargo/target-lexicon@0.13.6",
447
+ "externalReferences": [
448
+ {
449
+ "type": "documentation",
450
+ "url": "https://docs.rs/target-lexicon/"
451
+ },
452
+ {
453
+ "type": "vcs",
454
+ "url": "https://github.com/bytecodealliance/target-lexicon"
455
+ }
456
+ ]
457
+ },
458
+ {
459
+ "type": "library",
460
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24",
461
+ "author": "David Tolnay <dtolnay@gmail.com>",
462
+ "name": "unicode-ident",
463
+ "version": "1.0.24",
464
+ "description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31",
465
+ "scope": "required",
466
+ "hashes": [
467
+ {
468
+ "alg": "SHA-256",
469
+ "content": "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
470
+ }
471
+ ],
472
+ "licenses": [
473
+ {
474
+ "expression": "(MIT OR Apache-2.0) AND Unicode-3.0"
475
+ }
476
+ ],
477
+ "purl": "pkg:cargo/unicode-ident@1.0.24",
478
+ "externalReferences": [
479
+ {
480
+ "type": "documentation",
481
+ "url": "https://docs.rs/unicode-ident"
482
+ },
483
+ {
484
+ "type": "vcs",
485
+ "url": "https://github.com/dtolnay/unicode-ident"
486
+ }
487
+ ]
488
+ }
489
+ ],
490
+ "dependencies": [
491
+ {
492
+ "ref": "path+file:///D:/a/text-processing-rs/text-processing-rs#0.3.4",
493
+ "dependsOn": [
494
+ "registry+https://github.com/rust-lang/crates.io-index#lazy_static@1.5.0",
495
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.30.1"
496
+ ]
497
+ },
498
+ {
499
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0"
500
+ },
501
+ {
502
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#lazy_static@1.5.0"
503
+ },
504
+ {
505
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.186"
506
+ },
507
+ {
508
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4"
509
+ },
510
+ {
511
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
512
+ "dependsOn": [
513
+ "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24"
514
+ ]
515
+ },
516
+ {
517
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.30.1",
518
+ "dependsOn": [
519
+ "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.6"
520
+ ]
521
+ },
522
+ {
523
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.30.1",
524
+ "dependsOn": [
525
+ "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.186",
526
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.30.1"
527
+ ]
528
+ },
529
+ {
530
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.30.1",
531
+ "dependsOn": [
532
+ "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
533
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
534
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.46",
535
+ "registry+https://github.com/rust-lang/crates.io-index#syn@3.0.10"
536
+ ]
537
+ },
538
+ {
539
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.30.1",
540
+ "dependsOn": [
541
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
542
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.30.1",
543
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.46",
544
+ "registry+https://github.com/rust-lang/crates.io-index#syn@3.0.10"
545
+ ]
546
+ },
547
+ {
548
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.30.1",
549
+ "dependsOn": [
550
+ "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.186",
551
+ "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4",
552
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.30.1",
553
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.30.1",
554
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.30.1"
555
+ ]
556
+ },
557
+ {
558
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.46",
559
+ "dependsOn": [
560
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106"
561
+ ]
562
+ },
563
+ {
564
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#syn@3.0.10",
565
+ "dependsOn": [
566
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
567
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.46",
568
+ "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24"
569
+ ]
570
+ },
571
+ {
572
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.6"
573
+ },
574
+ {
575
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24"
576
+ }
577
+ ]
578
+ }