tokenizers 0.4.2-aarch64-linux → 0.4.4-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Cargo.lock +42 -21
- data/LICENSE-THIRD-PARTY.txt +806 -24
- data/README.md +41 -5
- data/lib/tokenizers/3.0/tokenizers.so +0 -0
- data/lib/tokenizers/3.1/tokenizers.so +0 -0
- data/lib/tokenizers/3.2/tokenizers.so +0 -0
- data/lib/tokenizers/3.3/tokenizers.so +0 -0
- data/lib/tokenizers/from_pretrained.rb +1 -1
- data/lib/tokenizers/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 697ea6203bb99c131871ff9ac37d10fe6d55429f5d8cc89e90c714a216bb63b8
|
4
|
+
data.tar.gz: 84ef77ec0126fcdd15cd65882899a765d9d9faee7f5692fbc53eccab6f73b6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d09f00fa835106bf14798b0ab1ead82646d5a9fe8ef9a72cecda8bab946d2b9aa10cfad5894bea5ab5856bce41629c93bdedbc763c7a2569a9ea3afb493f9ef
|
7
|
+
data.tar.gz: 1795774a481b27993306c1677f3790c5b95970d8e3770b1e4cced500d9921cde06671371d79ff4d626f271ec87ce4ab32bb36c26b5f3a9bcac00f9e37662876f
|
data/CHANGELOG.md
CHANGED
data/Cargo.lock
CHANGED
@@ -25,11 +25,11 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
|
25
25
|
|
26
26
|
[[package]]
|
27
27
|
name = "bindgen"
|
28
|
-
version = "0.
|
28
|
+
version = "0.69.1"
|
29
29
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
30
|
-
checksum = "
|
30
|
+
checksum = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2"
|
31
31
|
dependencies = [
|
32
|
-
"bitflags",
|
32
|
+
"bitflags 2.4.1",
|
33
33
|
"cexpr",
|
34
34
|
"clang-sys",
|
35
35
|
"lazy_static",
|
@@ -40,7 +40,7 @@ dependencies = [
|
|
40
40
|
"regex",
|
41
41
|
"rustc-hash",
|
42
42
|
"shlex",
|
43
|
-
"syn
|
43
|
+
"syn 2.0.38",
|
44
44
|
]
|
45
45
|
|
46
46
|
[[package]]
|
@@ -49,6 +49,12 @@ version = "1.3.2"
|
|
49
49
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
50
50
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
51
51
|
|
52
|
+
[[package]]
|
53
|
+
name = "bitflags"
|
54
|
+
version = "2.4.1"
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
56
|
+
checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
|
57
|
+
|
52
58
|
[[package]]
|
53
59
|
name = "cc"
|
54
60
|
version = "1.0.79"
|
@@ -274,6 +280,15 @@ dependencies = [
|
|
274
280
|
"either",
|
275
281
|
]
|
276
282
|
|
283
|
+
[[package]]
|
284
|
+
name = "itertools"
|
285
|
+
version = "0.12.1"
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
287
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
288
|
+
dependencies = [
|
289
|
+
"either",
|
290
|
+
]
|
291
|
+
|
277
292
|
[[package]]
|
278
293
|
name = "itoa"
|
279
294
|
version = "1.0.6"
|
@@ -335,9 +350,9 @@ checksum = "b8dd856d451cc0da70e2ef2ce95a18e39a93b7558bedf10201ad28503f918568"
|
|
335
350
|
|
336
351
|
[[package]]
|
337
352
|
name = "magnus"
|
338
|
-
version = "0.6.
|
353
|
+
version = "0.6.2"
|
339
354
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
340
|
-
checksum = "
|
355
|
+
checksum = "4778544796676e8428e9c622460ebf284bea52d8b10db3aeb449d8b5e61b3a13"
|
341
356
|
dependencies = [
|
342
357
|
"magnus-macros",
|
343
358
|
"rb-sys",
|
@@ -426,7 +441,7 @@ version = "6.4.0"
|
|
426
441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
427
442
|
checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f"
|
428
443
|
dependencies = [
|
429
|
-
"bitflags",
|
444
|
+
"bitflags 1.3.2",
|
430
445
|
"libc",
|
431
446
|
"once_cell",
|
432
447
|
"onig_sys",
|
@@ -537,7 +552,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
552
|
checksum = "059f538b55efd2309c9794130bc149c6a553db90e9d99c2030785c82f0bd7df9"
|
538
553
|
dependencies = [
|
539
554
|
"either",
|
540
|
-
"itertools",
|
555
|
+
"itertools 0.11.0",
|
541
556
|
"rayon",
|
542
557
|
]
|
543
558
|
|
@@ -553,18 +568,18 @@ dependencies = [
|
|
553
568
|
|
554
569
|
[[package]]
|
555
570
|
name = "rb-sys"
|
556
|
-
version = "0.9.
|
571
|
+
version = "0.9.89"
|
557
572
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
558
|
-
checksum = "
|
573
|
+
checksum = "0d197f2c03751ef006f29d593d22aa9068c9c358e04ca503afea0329c366147c"
|
559
574
|
dependencies = [
|
560
575
|
"rb-sys-build",
|
561
576
|
]
|
562
577
|
|
563
578
|
[[package]]
|
564
579
|
name = "rb-sys-build"
|
565
|
-
version = "0.9.
|
580
|
+
version = "0.9.89"
|
566
581
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
567
|
-
checksum = "
|
582
|
+
checksum = "2b50caf8fd028f12abe00d6debe2ae2adf6202c9ca3caa59487eda710d90fa28"
|
568
583
|
dependencies = [
|
569
584
|
"bindgen",
|
570
585
|
"lazy_static",
|
@@ -572,7 +587,7 @@ dependencies = [
|
|
572
587
|
"quote",
|
573
588
|
"regex",
|
574
589
|
"shell-words",
|
575
|
-
"syn
|
590
|
+
"syn 2.0.38",
|
576
591
|
]
|
577
592
|
|
578
593
|
[[package]]
|
@@ -590,7 +605,7 @@ dependencies = [
|
|
590
605
|
"aho-corasick",
|
591
606
|
"memchr",
|
592
607
|
"regex-automata",
|
593
|
-
"regex-syntax",
|
608
|
+
"regex-syntax 0.7.5",
|
594
609
|
]
|
595
610
|
|
596
611
|
[[package]]
|
@@ -601,7 +616,7 @@ checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795"
|
|
601
616
|
dependencies = [
|
602
617
|
"aho-corasick",
|
603
618
|
"memchr",
|
604
|
-
"regex-syntax",
|
619
|
+
"regex-syntax 0.7.5",
|
605
620
|
]
|
606
621
|
|
607
622
|
[[package]]
|
@@ -610,6 +625,12 @@ version = "0.7.5"
|
|
610
625
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
611
626
|
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
|
612
627
|
|
628
|
+
[[package]]
|
629
|
+
name = "regex-syntax"
|
630
|
+
version = "0.8.2"
|
631
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
632
|
+
checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
|
633
|
+
|
613
634
|
[[package]]
|
614
635
|
name = "rustc-hash"
|
615
636
|
version = "1.1.0"
|
@@ -745,26 +766,26 @@ dependencies = [
|
|
745
766
|
|
746
767
|
[[package]]
|
747
768
|
name = "tokenizers"
|
748
|
-
version = "0.4.
|
769
|
+
version = "0.4.4"
|
749
770
|
dependencies = [
|
750
771
|
"magnus",
|
751
772
|
"onig",
|
752
773
|
"serde",
|
753
|
-
"tokenizers 0.15.
|
774
|
+
"tokenizers 0.15.2",
|
754
775
|
]
|
755
776
|
|
756
777
|
[[package]]
|
757
778
|
name = "tokenizers"
|
758
|
-
version = "0.15.
|
779
|
+
version = "0.15.2"
|
759
780
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
760
|
-
checksum = "
|
781
|
+
checksum = "3dd47962b0ba36e7fd33518fbf1754d136fd1474000162bbf2a8b5fcb2d3654d"
|
761
782
|
dependencies = [
|
762
783
|
"aho-corasick",
|
763
784
|
"derive_builder",
|
764
785
|
"esaxx-rs",
|
765
786
|
"getrandom",
|
766
787
|
"indicatif",
|
767
|
-
"itertools",
|
788
|
+
"itertools 0.12.1",
|
768
789
|
"lazy_static",
|
769
790
|
"log",
|
770
791
|
"macro_rules_attribute",
|
@@ -775,7 +796,7 @@ dependencies = [
|
|
775
796
|
"rayon",
|
776
797
|
"rayon-cond",
|
777
798
|
"regex",
|
778
|
-
"regex-syntax",
|
799
|
+
"regex-syntax 0.8.2",
|
779
800
|
"serde",
|
780
801
|
"serde_json",
|
781
802
|
"spm_precompiled",
|
data/LICENSE-THIRD-PARTY.txt
CHANGED
@@ -14,7 +14,7 @@ base64 v0.13.1
|
|
14
14
|
https://github.com/marshallpierce/rust-base64
|
15
15
|
MIT/Apache-2.0
|
16
16
|
|
17
|
-
bindgen v0.
|
17
|
+
bindgen v0.69.1
|
18
18
|
https://rust-lang.github.io/rust-bindgen/
|
19
19
|
BSD-3-Clause
|
20
20
|
|
@@ -22,6 +22,10 @@ bitflags v1.3.2
|
|
22
22
|
https://github.com/bitflags/bitflags
|
23
23
|
MIT/Apache-2.0
|
24
24
|
|
25
|
+
bitflags v2.4.1
|
26
|
+
https://github.com/bitflags/bitflags
|
27
|
+
MIT OR Apache-2.0
|
28
|
+
|
25
29
|
cc v1.0.79
|
26
30
|
https://github.com/rust-lang/cc-rs
|
27
31
|
MIT OR Apache-2.0
|
@@ -110,6 +114,10 @@ itertools v0.11.0
|
|
110
114
|
https://github.com/rust-itertools/itertools
|
111
115
|
MIT OR Apache-2.0
|
112
116
|
|
117
|
+
itertools v0.12.1
|
118
|
+
https://github.com/rust-itertools/itertools
|
119
|
+
MIT OR Apache-2.0
|
120
|
+
|
113
121
|
itoa v1.0.6
|
114
122
|
https://github.com/dtolnay/itoa
|
115
123
|
MIT OR Apache-2.0
|
@@ -142,7 +150,7 @@ macro_rules_attribute-proc_macro v0.2.0
|
|
142
150
|
https://github.com/danielhenrymantilla/macro_rules_attribute-rs
|
143
151
|
MIT
|
144
152
|
|
145
|
-
magnus v0.6.
|
153
|
+
magnus v0.6.2
|
146
154
|
https://github.com/matsadler/magnus
|
147
155
|
MIT
|
148
156
|
|
@@ -242,11 +250,11 @@ rayon-core v1.12.0
|
|
242
250
|
https://github.com/rayon-rs/rayon
|
243
251
|
MIT OR Apache-2.0
|
244
252
|
|
245
|
-
rb-sys v0.9.
|
253
|
+
rb-sys v0.9.89
|
246
254
|
https://github.com/oxidize-rb/rb-sys
|
247
255
|
MIT OR Apache-2.0
|
248
256
|
|
249
|
-
rb-sys-build v0.9.
|
257
|
+
rb-sys-build v0.9.89
|
250
258
|
https://github.com/oxidize-rb/rb-sys
|
251
259
|
MIT OR Apache-2.0
|
252
260
|
|
@@ -266,6 +274,10 @@ regex-syntax v0.7.5
|
|
266
274
|
https://github.com/rust-lang/regex/tree/master/regex-syntax
|
267
275
|
MIT OR Apache-2.0
|
268
276
|
|
277
|
+
regex-syntax v0.8.2
|
278
|
+
https://github.com/rust-lang/regex/tree/master/regex-syntax
|
279
|
+
MIT OR Apache-2.0
|
280
|
+
|
269
281
|
rustc-hash v1.1.0
|
270
282
|
https://github.com/rust-lang-nursery/rustc-hash
|
271
283
|
Apache-2.0/MIT
|
@@ -330,7 +342,7 @@ thiserror-impl v1.0.49
|
|
330
342
|
https://github.com/dtolnay/thiserror
|
331
343
|
MIT OR Apache-2.0
|
332
344
|
|
333
|
-
tokenizers v0.15.
|
345
|
+
tokenizers v0.15.2
|
334
346
|
https://github.com/huggingface/tokenizers
|
335
347
|
Apache-2.0
|
336
348
|
|
@@ -920,7 +932,243 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
920
932
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
921
933
|
|
922
934
|
================================================================================
|
923
|
-
bitflags LICENSE-APACHE
|
935
|
+
bitflags v1.3.2 LICENSE-APACHE
|
936
|
+
================================================================================
|
937
|
+
|
938
|
+
Apache License
|
939
|
+
Version 2.0, January 2004
|
940
|
+
http://www.apache.org/licenses/
|
941
|
+
|
942
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
943
|
+
|
944
|
+
1. Definitions.
|
945
|
+
|
946
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
947
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
948
|
+
|
949
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
950
|
+
the copyright owner that is granting the License.
|
951
|
+
|
952
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
953
|
+
other entities that control, are controlled by, or are under common
|
954
|
+
control with that entity. For the purposes of this definition,
|
955
|
+
"control" means (i) the power, direct or indirect, to cause the
|
956
|
+
direction or management of such entity, whether by contract or
|
957
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
958
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
959
|
+
|
960
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
961
|
+
exercising permissions granted by this License.
|
962
|
+
|
963
|
+
"Source" form shall mean the preferred form for making modifications,
|
964
|
+
including but not limited to software source code, documentation
|
965
|
+
source, and configuration files.
|
966
|
+
|
967
|
+
"Object" form shall mean any form resulting from mechanical
|
968
|
+
transformation or translation of a Source form, including but
|
969
|
+
not limited to compiled object code, generated documentation,
|
970
|
+
and conversions to other media types.
|
971
|
+
|
972
|
+
"Work" shall mean the work of authorship, whether in Source or
|
973
|
+
Object form, made available under the License, as indicated by a
|
974
|
+
copyright notice that is included in or attached to the work
|
975
|
+
(an example is provided in the Appendix below).
|
976
|
+
|
977
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
978
|
+
form, that is based on (or derived from) the Work and for which the
|
979
|
+
editorial revisions, annotations, elaborations, or other modifications
|
980
|
+
represent, as a whole, an original work of authorship. For the purposes
|
981
|
+
of this License, Derivative Works shall not include works that remain
|
982
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
983
|
+
the Work and Derivative Works thereof.
|
984
|
+
|
985
|
+
"Contribution" shall mean any work of authorship, including
|
986
|
+
the original version of the Work and any modifications or additions
|
987
|
+
to that Work or Derivative Works thereof, that is intentionally
|
988
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
989
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
990
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
991
|
+
means any form of electronic, verbal, or written communication sent
|
992
|
+
to the Licensor or its representatives, including but not limited to
|
993
|
+
communication on electronic mailing lists, source code control systems,
|
994
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
995
|
+
Licensor for the purpose of discussing and improving the Work, but
|
996
|
+
excluding communication that is conspicuously marked or otherwise
|
997
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
998
|
+
|
999
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
1000
|
+
on behalf of whom a Contribution has been received by Licensor and
|
1001
|
+
subsequently incorporated within the Work.
|
1002
|
+
|
1003
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
1004
|
+
this License, each Contributor hereby grants to You a perpetual,
|
1005
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
1006
|
+
copyright license to reproduce, prepare Derivative Works of,
|
1007
|
+
publicly display, publicly perform, sublicense, and distribute the
|
1008
|
+
Work and such Derivative Works in Source or Object form.
|
1009
|
+
|
1010
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
1011
|
+
this License, each Contributor hereby grants to You a perpetual,
|
1012
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
1013
|
+
(except as stated in this section) patent license to make, have made,
|
1014
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
1015
|
+
where such license applies only to those patent claims licensable
|
1016
|
+
by such Contributor that are necessarily infringed by their
|
1017
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
1018
|
+
with the Work to which such Contribution(s) was submitted. If You
|
1019
|
+
institute patent litigation against any entity (including a
|
1020
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
1021
|
+
or a Contribution incorporated within the Work constitutes direct
|
1022
|
+
or contributory patent infringement, then any patent licenses
|
1023
|
+
granted to You under this License for that Work shall terminate
|
1024
|
+
as of the date such litigation is filed.
|
1025
|
+
|
1026
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
1027
|
+
Work or Derivative Works thereof in any medium, with or without
|
1028
|
+
modifications, and in Source or Object form, provided that You
|
1029
|
+
meet the following conditions:
|
1030
|
+
|
1031
|
+
(a) You must give any other recipients of the Work or
|
1032
|
+
Derivative Works a copy of this License; and
|
1033
|
+
|
1034
|
+
(b) You must cause any modified files to carry prominent notices
|
1035
|
+
stating that You changed the files; and
|
1036
|
+
|
1037
|
+
(c) You must retain, in the Source form of any Derivative Works
|
1038
|
+
that You distribute, all copyright, patent, trademark, and
|
1039
|
+
attribution notices from the Source form of the Work,
|
1040
|
+
excluding those notices that do not pertain to any part of
|
1041
|
+
the Derivative Works; and
|
1042
|
+
|
1043
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
1044
|
+
distribution, then any Derivative Works that You distribute must
|
1045
|
+
include a readable copy of the attribution notices contained
|
1046
|
+
within such NOTICE file, excluding those notices that do not
|
1047
|
+
pertain to any part of the Derivative Works, in at least one
|
1048
|
+
of the following places: within a NOTICE text file distributed
|
1049
|
+
as part of the Derivative Works; within the Source form or
|
1050
|
+
documentation, if provided along with the Derivative Works; or,
|
1051
|
+
within a display generated by the Derivative Works, if and
|
1052
|
+
wherever such third-party notices normally appear. The contents
|
1053
|
+
of the NOTICE file are for informational purposes only and
|
1054
|
+
do not modify the License. You may add Your own attribution
|
1055
|
+
notices within Derivative Works that You distribute, alongside
|
1056
|
+
or as an addendum to the NOTICE text from the Work, provided
|
1057
|
+
that such additional attribution notices cannot be construed
|
1058
|
+
as modifying the License.
|
1059
|
+
|
1060
|
+
You may add Your own copyright statement to Your modifications and
|
1061
|
+
may provide additional or different license terms and conditions
|
1062
|
+
for use, reproduction, or distribution of Your modifications, or
|
1063
|
+
for any such Derivative Works as a whole, provided Your use,
|
1064
|
+
reproduction, and distribution of the Work otherwise complies with
|
1065
|
+
the conditions stated in this License.
|
1066
|
+
|
1067
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
1068
|
+
any Contribution intentionally submitted for inclusion in the Work
|
1069
|
+
by You to the Licensor shall be under the terms and conditions of
|
1070
|
+
this License, without any additional terms or conditions.
|
1071
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
1072
|
+
the terms of any separate license agreement you may have executed
|
1073
|
+
with Licensor regarding such Contributions.
|
1074
|
+
|
1075
|
+
6. Trademarks. This License does not grant permission to use the trade
|
1076
|
+
names, trademarks, service marks, or product names of the Licensor,
|
1077
|
+
except as required for reasonable and customary use in describing the
|
1078
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
1079
|
+
|
1080
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
1081
|
+
agreed to in writing, Licensor provides the Work (and each
|
1082
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
1083
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
1084
|
+
implied, including, without limitation, any warranties or conditions
|
1085
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
1086
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
1087
|
+
appropriateness of using or redistributing the Work and assume any
|
1088
|
+
risks associated with Your exercise of permissions under this License.
|
1089
|
+
|
1090
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
1091
|
+
whether in tort (including negligence), contract, or otherwise,
|
1092
|
+
unless required by applicable law (such as deliberate and grossly
|
1093
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
1094
|
+
liable to You for damages, including any direct, indirect, special,
|
1095
|
+
incidental, or consequential damages of any character arising as a
|
1096
|
+
result of this License or out of the use or inability to use the
|
1097
|
+
Work (including but not limited to damages for loss of goodwill,
|
1098
|
+
work stoppage, computer failure or malfunction, or any and all
|
1099
|
+
other commercial damages or losses), even if such Contributor
|
1100
|
+
has been advised of the possibility of such damages.
|
1101
|
+
|
1102
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
1103
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
1104
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
1105
|
+
or other liability obligations and/or rights consistent with this
|
1106
|
+
License. However, in accepting such obligations, You may act only
|
1107
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
1108
|
+
of any other Contributor, and only if You agree to indemnify,
|
1109
|
+
defend, and hold each Contributor harmless for any liability
|
1110
|
+
incurred by, or claims asserted against, such Contributor by reason
|
1111
|
+
of your accepting any such warranty or additional liability.
|
1112
|
+
|
1113
|
+
END OF TERMS AND CONDITIONS
|
1114
|
+
|
1115
|
+
APPENDIX: How to apply the Apache License to your work.
|
1116
|
+
|
1117
|
+
To apply the Apache License to your work, attach the following
|
1118
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
1119
|
+
replaced with your own identifying information. (Don't include
|
1120
|
+
the brackets!) The text should be enclosed in the appropriate
|
1121
|
+
comment syntax for the file format. We also recommend that a
|
1122
|
+
file or class name and description of purpose be included on the
|
1123
|
+
same "printed page" as the copyright notice for easier
|
1124
|
+
identification within third-party archives.
|
1125
|
+
|
1126
|
+
Copyright [yyyy] [name of copyright owner]
|
1127
|
+
|
1128
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
1129
|
+
you may not use this file except in compliance with the License.
|
1130
|
+
You may obtain a copy of the License at
|
1131
|
+
|
1132
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
1133
|
+
|
1134
|
+
Unless required by applicable law or agreed to in writing, software
|
1135
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
1136
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1137
|
+
See the License for the specific language governing permissions and
|
1138
|
+
limitations under the License.
|
1139
|
+
|
1140
|
+
================================================================================
|
1141
|
+
bitflags v1.3.2 LICENSE-MIT
|
1142
|
+
================================================================================
|
1143
|
+
|
1144
|
+
Copyright (c) 2014 The Rust Project Developers
|
1145
|
+
|
1146
|
+
Permission is hereby granted, free of charge, to any
|
1147
|
+
person obtaining a copy of this software and associated
|
1148
|
+
documentation files (the "Software"), to deal in the
|
1149
|
+
Software without restriction, including without
|
1150
|
+
limitation the rights to use, copy, modify, merge,
|
1151
|
+
publish, distribute, sublicense, and/or sell copies of
|
1152
|
+
the Software, and to permit persons to whom the Software
|
1153
|
+
is furnished to do so, subject to the following
|
1154
|
+
conditions:
|
1155
|
+
|
1156
|
+
The above copyright notice and this permission notice
|
1157
|
+
shall be included in all copies or substantial portions
|
1158
|
+
of the Software.
|
1159
|
+
|
1160
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
1161
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
1162
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
1163
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
1164
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
1165
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
1166
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
1167
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
1168
|
+
DEALINGS IN THE SOFTWARE.
|
1169
|
+
|
1170
|
+
================================================================================
|
1171
|
+
bitflags v2.4.1 LICENSE-APACHE
|
924
1172
|
================================================================================
|
925
1173
|
|
926
1174
|
Apache License
|
@@ -1126,7 +1374,7 @@ See the License for the specific language governing permissions and
|
|
1126
1374
|
limitations under the License.
|
1127
1375
|
|
1128
1376
|
================================================================================
|
1129
|
-
bitflags LICENSE-MIT
|
1377
|
+
bitflags v2.4.1 LICENSE-MIT
|
1130
1378
|
================================================================================
|
1131
1379
|
|
1132
1380
|
Copyright (c) 2014 The Rust Project Developers
|
@@ -4791,7 +5039,7 @@ SOFTWARE.
|
|
4791
5039
|
|
4792
5040
|
|
4793
5041
|
================================================================================
|
4794
|
-
itertools LICENSE-APACHE
|
5042
|
+
itertools v0.11.0 LICENSE-APACHE
|
4795
5043
|
================================================================================
|
4796
5044
|
|
4797
5045
|
Apache License
|
@@ -4997,7 +5245,7 @@ See the License for the specific language governing permissions and
|
|
4997
5245
|
limitations under the License.
|
4998
5246
|
|
4999
5247
|
================================================================================
|
5000
|
-
itertools LICENSE-MIT
|
5248
|
+
itertools v0.11.0 LICENSE-MIT
|
5001
5249
|
================================================================================
|
5002
5250
|
|
5003
5251
|
Copyright (c) 2015
|
@@ -5027,7 +5275,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
5027
5275
|
DEALINGS IN THE SOFTWARE.
|
5028
5276
|
|
5029
5277
|
================================================================================
|
5030
|
-
|
5278
|
+
itertools v0.12.1 LICENSE-APACHE
|
5031
5279
|
================================================================================
|
5032
5280
|
|
5033
5281
|
Apache License
|
@@ -5207,18 +5455,254 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
5207
5455
|
|
5208
5456
|
END OF TERMS AND CONDITIONS
|
5209
5457
|
|
5210
|
-
|
5211
|
-
itoa LICENSE-MIT
|
5212
|
-
================================================================================
|
5458
|
+
APPENDIX: How to apply the Apache License to your work.
|
5213
5459
|
|
5214
|
-
|
5215
|
-
|
5216
|
-
|
5217
|
-
|
5218
|
-
|
5219
|
-
|
5220
|
-
|
5221
|
-
|
5460
|
+
To apply the Apache License to your work, attach the following
|
5461
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
5462
|
+
replaced with your own identifying information. (Don't include
|
5463
|
+
the brackets!) The text should be enclosed in the appropriate
|
5464
|
+
comment syntax for the file format. We also recommend that a
|
5465
|
+
file or class name and description of purpose be included on the
|
5466
|
+
same "printed page" as the copyright notice for easier
|
5467
|
+
identification within third-party archives.
|
5468
|
+
|
5469
|
+
Copyright [yyyy] [name of copyright owner]
|
5470
|
+
|
5471
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
5472
|
+
you may not use this file except in compliance with the License.
|
5473
|
+
You may obtain a copy of the License at
|
5474
|
+
|
5475
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
5476
|
+
|
5477
|
+
Unless required by applicable law or agreed to in writing, software
|
5478
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
5479
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
5480
|
+
See the License for the specific language governing permissions and
|
5481
|
+
limitations under the License.
|
5482
|
+
|
5483
|
+
================================================================================
|
5484
|
+
itertools v0.12.1 LICENSE-MIT
|
5485
|
+
================================================================================
|
5486
|
+
|
5487
|
+
Copyright (c) 2015
|
5488
|
+
|
5489
|
+
Permission is hereby granted, free of charge, to any
|
5490
|
+
person obtaining a copy of this software and associated
|
5491
|
+
documentation files (the "Software"), to deal in the
|
5492
|
+
Software without restriction, including without
|
5493
|
+
limitation the rights to use, copy, modify, merge,
|
5494
|
+
publish, distribute, sublicense, and/or sell copies of
|
5495
|
+
the Software, and to permit persons to whom the Software
|
5496
|
+
is furnished to do so, subject to the following
|
5497
|
+
conditions:
|
5498
|
+
|
5499
|
+
The above copyright notice and this permission notice
|
5500
|
+
shall be included in all copies or substantial portions
|
5501
|
+
of the Software.
|
5502
|
+
|
5503
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
5504
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
5505
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
5506
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
5507
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
5508
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
5509
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
5510
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
5511
|
+
DEALINGS IN THE SOFTWARE.
|
5512
|
+
|
5513
|
+
================================================================================
|
5514
|
+
itoa LICENSE-APACHE
|
5515
|
+
================================================================================
|
5516
|
+
|
5517
|
+
Apache License
|
5518
|
+
Version 2.0, January 2004
|
5519
|
+
http://www.apache.org/licenses/
|
5520
|
+
|
5521
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
5522
|
+
|
5523
|
+
1. Definitions.
|
5524
|
+
|
5525
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
5526
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
5527
|
+
|
5528
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
5529
|
+
the copyright owner that is granting the License.
|
5530
|
+
|
5531
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
5532
|
+
other entities that control, are controlled by, or are under common
|
5533
|
+
control with that entity. For the purposes of this definition,
|
5534
|
+
"control" means (i) the power, direct or indirect, to cause the
|
5535
|
+
direction or management of such entity, whether by contract or
|
5536
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
5537
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
5538
|
+
|
5539
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
5540
|
+
exercising permissions granted by this License.
|
5541
|
+
|
5542
|
+
"Source" form shall mean the preferred form for making modifications,
|
5543
|
+
including but not limited to software source code, documentation
|
5544
|
+
source, and configuration files.
|
5545
|
+
|
5546
|
+
"Object" form shall mean any form resulting from mechanical
|
5547
|
+
transformation or translation of a Source form, including but
|
5548
|
+
not limited to compiled object code, generated documentation,
|
5549
|
+
and conversions to other media types.
|
5550
|
+
|
5551
|
+
"Work" shall mean the work of authorship, whether in Source or
|
5552
|
+
Object form, made available under the License, as indicated by a
|
5553
|
+
copyright notice that is included in or attached to the work
|
5554
|
+
(an example is provided in the Appendix below).
|
5555
|
+
|
5556
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
5557
|
+
form, that is based on (or derived from) the Work and for which the
|
5558
|
+
editorial revisions, annotations, elaborations, or other modifications
|
5559
|
+
represent, as a whole, an original work of authorship. For the purposes
|
5560
|
+
of this License, Derivative Works shall not include works that remain
|
5561
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
5562
|
+
the Work and Derivative Works thereof.
|
5563
|
+
|
5564
|
+
"Contribution" shall mean any work of authorship, including
|
5565
|
+
the original version of the Work and any modifications or additions
|
5566
|
+
to that Work or Derivative Works thereof, that is intentionally
|
5567
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
5568
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
5569
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
5570
|
+
means any form of electronic, verbal, or written communication sent
|
5571
|
+
to the Licensor or its representatives, including but not limited to
|
5572
|
+
communication on electronic mailing lists, source code control systems,
|
5573
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
5574
|
+
Licensor for the purpose of discussing and improving the Work, but
|
5575
|
+
excluding communication that is conspicuously marked or otherwise
|
5576
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
5577
|
+
|
5578
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
5579
|
+
on behalf of whom a Contribution has been received by Licensor and
|
5580
|
+
subsequently incorporated within the Work.
|
5581
|
+
|
5582
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
5583
|
+
this License, each Contributor hereby grants to You a perpetual,
|
5584
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
5585
|
+
copyright license to reproduce, prepare Derivative Works of,
|
5586
|
+
publicly display, publicly perform, sublicense, and distribute the
|
5587
|
+
Work and such Derivative Works in Source or Object form.
|
5588
|
+
|
5589
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
5590
|
+
this License, each Contributor hereby grants to You a perpetual,
|
5591
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
5592
|
+
(except as stated in this section) patent license to make, have made,
|
5593
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
5594
|
+
where such license applies only to those patent claims licensable
|
5595
|
+
by such Contributor that are necessarily infringed by their
|
5596
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
5597
|
+
with the Work to which such Contribution(s) was submitted. If You
|
5598
|
+
institute patent litigation against any entity (including a
|
5599
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
5600
|
+
or a Contribution incorporated within the Work constitutes direct
|
5601
|
+
or contributory patent infringement, then any patent licenses
|
5602
|
+
granted to You under this License for that Work shall terminate
|
5603
|
+
as of the date such litigation is filed.
|
5604
|
+
|
5605
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
5606
|
+
Work or Derivative Works thereof in any medium, with or without
|
5607
|
+
modifications, and in Source or Object form, provided that You
|
5608
|
+
meet the following conditions:
|
5609
|
+
|
5610
|
+
(a) You must give any other recipients of the Work or
|
5611
|
+
Derivative Works a copy of this License; and
|
5612
|
+
|
5613
|
+
(b) You must cause any modified files to carry prominent notices
|
5614
|
+
stating that You changed the files; and
|
5615
|
+
|
5616
|
+
(c) You must retain, in the Source form of any Derivative Works
|
5617
|
+
that You distribute, all copyright, patent, trademark, and
|
5618
|
+
attribution notices from the Source form of the Work,
|
5619
|
+
excluding those notices that do not pertain to any part of
|
5620
|
+
the Derivative Works; and
|
5621
|
+
|
5622
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
5623
|
+
distribution, then any Derivative Works that You distribute must
|
5624
|
+
include a readable copy of the attribution notices contained
|
5625
|
+
within such NOTICE file, excluding those notices that do not
|
5626
|
+
pertain to any part of the Derivative Works, in at least one
|
5627
|
+
of the following places: within a NOTICE text file distributed
|
5628
|
+
as part of the Derivative Works; within the Source form or
|
5629
|
+
documentation, if provided along with the Derivative Works; or,
|
5630
|
+
within a display generated by the Derivative Works, if and
|
5631
|
+
wherever such third-party notices normally appear. The contents
|
5632
|
+
of the NOTICE file are for informational purposes only and
|
5633
|
+
do not modify the License. You may add Your own attribution
|
5634
|
+
notices within Derivative Works that You distribute, alongside
|
5635
|
+
or as an addendum to the NOTICE text from the Work, provided
|
5636
|
+
that such additional attribution notices cannot be construed
|
5637
|
+
as modifying the License.
|
5638
|
+
|
5639
|
+
You may add Your own copyright statement to Your modifications and
|
5640
|
+
may provide additional or different license terms and conditions
|
5641
|
+
for use, reproduction, or distribution of Your modifications, or
|
5642
|
+
for any such Derivative Works as a whole, provided Your use,
|
5643
|
+
reproduction, and distribution of the Work otherwise complies with
|
5644
|
+
the conditions stated in this License.
|
5645
|
+
|
5646
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
5647
|
+
any Contribution intentionally submitted for inclusion in the Work
|
5648
|
+
by You to the Licensor shall be under the terms and conditions of
|
5649
|
+
this License, without any additional terms or conditions.
|
5650
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
5651
|
+
the terms of any separate license agreement you may have executed
|
5652
|
+
with Licensor regarding such Contributions.
|
5653
|
+
|
5654
|
+
6. Trademarks. This License does not grant permission to use the trade
|
5655
|
+
names, trademarks, service marks, or product names of the Licensor,
|
5656
|
+
except as required for reasonable and customary use in describing the
|
5657
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
5658
|
+
|
5659
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
5660
|
+
agreed to in writing, Licensor provides the Work (and each
|
5661
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
5662
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
5663
|
+
implied, including, without limitation, any warranties or conditions
|
5664
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
5665
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
5666
|
+
appropriateness of using or redistributing the Work and assume any
|
5667
|
+
risks associated with Your exercise of permissions under this License.
|
5668
|
+
|
5669
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
5670
|
+
whether in tort (including negligence), contract, or otherwise,
|
5671
|
+
unless required by applicable law (such as deliberate and grossly
|
5672
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
5673
|
+
liable to You for damages, including any direct, indirect, special,
|
5674
|
+
incidental, or consequential damages of any character arising as a
|
5675
|
+
result of this License or out of the use or inability to use the
|
5676
|
+
Work (including but not limited to damages for loss of goodwill,
|
5677
|
+
work stoppage, computer failure or malfunction, or any and all
|
5678
|
+
other commercial damages or losses), even if such Contributor
|
5679
|
+
has been advised of the possibility of such damages.
|
5680
|
+
|
5681
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
5682
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
5683
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
5684
|
+
or other liability obligations and/or rights consistent with this
|
5685
|
+
License. However, in accepting such obligations, You may act only
|
5686
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
5687
|
+
of any other Contributor, and only if You agree to indemnify,
|
5688
|
+
defend, and hold each Contributor harmless for any liability
|
5689
|
+
incurred by, or claims asserted against, such Contributor by reason
|
5690
|
+
of your accepting any such warranty or additional liability.
|
5691
|
+
|
5692
|
+
END OF TERMS AND CONDITIONS
|
5693
|
+
|
5694
|
+
================================================================================
|
5695
|
+
itoa LICENSE-MIT
|
5696
|
+
================================================================================
|
5697
|
+
|
5698
|
+
Permission is hereby granted, free of charge, to any
|
5699
|
+
person obtaining a copy of this software and associated
|
5700
|
+
documentation files (the "Software"), to deal in the
|
5701
|
+
Software without restriction, including without
|
5702
|
+
limitation the rights to use, copy, modify, merge,
|
5703
|
+
publish, distribute, sublicense, and/or sell copies of
|
5704
|
+
the Software, and to permit persons to whom the Software
|
5705
|
+
is furnished to do so, subject to the following
|
5222
5706
|
conditions:
|
5223
5707
|
|
5224
5708
|
The above copyright notice and this permission notice
|
@@ -11963,7 +12447,305 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
11963
12447
|
DEALINGS IN THE SOFTWARE.
|
11964
12448
|
|
11965
12449
|
================================================================================
|
11966
|
-
regex-syntax LICENSE-APACHE
|
12450
|
+
regex-syntax v0.7.5 LICENSE-APACHE
|
12451
|
+
================================================================================
|
12452
|
+
|
12453
|
+
Apache License
|
12454
|
+
Version 2.0, January 2004
|
12455
|
+
http://www.apache.org/licenses/
|
12456
|
+
|
12457
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
12458
|
+
|
12459
|
+
1. Definitions.
|
12460
|
+
|
12461
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
12462
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12463
|
+
|
12464
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
12465
|
+
the copyright owner that is granting the License.
|
12466
|
+
|
12467
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
12468
|
+
other entities that control, are controlled by, or are under common
|
12469
|
+
control with that entity. For the purposes of this definition,
|
12470
|
+
"control" means (i) the power, direct or indirect, to cause the
|
12471
|
+
direction or management of such entity, whether by contract or
|
12472
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
12473
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
12474
|
+
|
12475
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
12476
|
+
exercising permissions granted by this License.
|
12477
|
+
|
12478
|
+
"Source" form shall mean the preferred form for making modifications,
|
12479
|
+
including but not limited to software source code, documentation
|
12480
|
+
source, and configuration files.
|
12481
|
+
|
12482
|
+
"Object" form shall mean any form resulting from mechanical
|
12483
|
+
transformation or translation of a Source form, including but
|
12484
|
+
not limited to compiled object code, generated documentation,
|
12485
|
+
and conversions to other media types.
|
12486
|
+
|
12487
|
+
"Work" shall mean the work of authorship, whether in Source or
|
12488
|
+
Object form, made available under the License, as indicated by a
|
12489
|
+
copyright notice that is included in or attached to the work
|
12490
|
+
(an example is provided in the Appendix below).
|
12491
|
+
|
12492
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
12493
|
+
form, that is based on (or derived from) the Work and for which the
|
12494
|
+
editorial revisions, annotations, elaborations, or other modifications
|
12495
|
+
represent, as a whole, an original work of authorship. For the purposes
|
12496
|
+
of this License, Derivative Works shall not include works that remain
|
12497
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
12498
|
+
the Work and Derivative Works thereof.
|
12499
|
+
|
12500
|
+
"Contribution" shall mean any work of authorship, including
|
12501
|
+
the original version of the Work and any modifications or additions
|
12502
|
+
to that Work or Derivative Works thereof, that is intentionally
|
12503
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
12504
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
12505
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
12506
|
+
means any form of electronic, verbal, or written communication sent
|
12507
|
+
to the Licensor or its representatives, including but not limited to
|
12508
|
+
communication on electronic mailing lists, source code control systems,
|
12509
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
12510
|
+
Licensor for the purpose of discussing and improving the Work, but
|
12511
|
+
excluding communication that is conspicuously marked or otherwise
|
12512
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
12513
|
+
|
12514
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
12515
|
+
on behalf of whom a Contribution has been received by Licensor and
|
12516
|
+
subsequently incorporated within the Work.
|
12517
|
+
|
12518
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
12519
|
+
this License, each Contributor hereby grants to You a perpetual,
|
12520
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
12521
|
+
copyright license to reproduce, prepare Derivative Works of,
|
12522
|
+
publicly display, publicly perform, sublicense, and distribute the
|
12523
|
+
Work and such Derivative Works in Source or Object form.
|
12524
|
+
|
12525
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
12526
|
+
this License, each Contributor hereby grants to You a perpetual,
|
12527
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
12528
|
+
(except as stated in this section) patent license to make, have made,
|
12529
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
12530
|
+
where such license applies only to those patent claims licensable
|
12531
|
+
by such Contributor that are necessarily infringed by their
|
12532
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
12533
|
+
with the Work to which such Contribution(s) was submitted. If You
|
12534
|
+
institute patent litigation against any entity (including a
|
12535
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
12536
|
+
or a Contribution incorporated within the Work constitutes direct
|
12537
|
+
or contributory patent infringement, then any patent licenses
|
12538
|
+
granted to You under this License for that Work shall terminate
|
12539
|
+
as of the date such litigation is filed.
|
12540
|
+
|
12541
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
12542
|
+
Work or Derivative Works thereof in any medium, with or without
|
12543
|
+
modifications, and in Source or Object form, provided that You
|
12544
|
+
meet the following conditions:
|
12545
|
+
|
12546
|
+
(a) You must give any other recipients of the Work or
|
12547
|
+
Derivative Works a copy of this License; and
|
12548
|
+
|
12549
|
+
(b) You must cause any modified files to carry prominent notices
|
12550
|
+
stating that You changed the files; and
|
12551
|
+
|
12552
|
+
(c) You must retain, in the Source form of any Derivative Works
|
12553
|
+
that You distribute, all copyright, patent, trademark, and
|
12554
|
+
attribution notices from the Source form of the Work,
|
12555
|
+
excluding those notices that do not pertain to any part of
|
12556
|
+
the Derivative Works; and
|
12557
|
+
|
12558
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
12559
|
+
distribution, then any Derivative Works that You distribute must
|
12560
|
+
include a readable copy of the attribution notices contained
|
12561
|
+
within such NOTICE file, excluding those notices that do not
|
12562
|
+
pertain to any part of the Derivative Works, in at least one
|
12563
|
+
of the following places: within a NOTICE text file distributed
|
12564
|
+
as part of the Derivative Works; within the Source form or
|
12565
|
+
documentation, if provided along with the Derivative Works; or,
|
12566
|
+
within a display generated by the Derivative Works, if and
|
12567
|
+
wherever such third-party notices normally appear. The contents
|
12568
|
+
of the NOTICE file are for informational purposes only and
|
12569
|
+
do not modify the License. You may add Your own attribution
|
12570
|
+
notices within Derivative Works that You distribute, alongside
|
12571
|
+
or as an addendum to the NOTICE text from the Work, provided
|
12572
|
+
that such additional attribution notices cannot be construed
|
12573
|
+
as modifying the License.
|
12574
|
+
|
12575
|
+
You may add Your own copyright statement to Your modifications and
|
12576
|
+
may provide additional or different license terms and conditions
|
12577
|
+
for use, reproduction, or distribution of Your modifications, or
|
12578
|
+
for any such Derivative Works as a whole, provided Your use,
|
12579
|
+
reproduction, and distribution of the Work otherwise complies with
|
12580
|
+
the conditions stated in this License.
|
12581
|
+
|
12582
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
12583
|
+
any Contribution intentionally submitted for inclusion in the Work
|
12584
|
+
by You to the Licensor shall be under the terms and conditions of
|
12585
|
+
this License, without any additional terms or conditions.
|
12586
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
12587
|
+
the terms of any separate license agreement you may have executed
|
12588
|
+
with Licensor regarding such Contributions.
|
12589
|
+
|
12590
|
+
6. Trademarks. This License does not grant permission to use the trade
|
12591
|
+
names, trademarks, service marks, or product names of the Licensor,
|
12592
|
+
except as required for reasonable and customary use in describing the
|
12593
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
12594
|
+
|
12595
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
12596
|
+
agreed to in writing, Licensor provides the Work (and each
|
12597
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
12598
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
12599
|
+
implied, including, without limitation, any warranties or conditions
|
12600
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
12601
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
12602
|
+
appropriateness of using or redistributing the Work and assume any
|
12603
|
+
risks associated with Your exercise of permissions under this License.
|
12604
|
+
|
12605
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
12606
|
+
whether in tort (including negligence), contract, or otherwise,
|
12607
|
+
unless required by applicable law (such as deliberate and grossly
|
12608
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
12609
|
+
liable to You for damages, including any direct, indirect, special,
|
12610
|
+
incidental, or consequential damages of any character arising as a
|
12611
|
+
result of this License or out of the use or inability to use the
|
12612
|
+
Work (including but not limited to damages for loss of goodwill,
|
12613
|
+
work stoppage, computer failure or malfunction, or any and all
|
12614
|
+
other commercial damages or losses), even if such Contributor
|
12615
|
+
has been advised of the possibility of such damages.
|
12616
|
+
|
12617
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
12618
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
12619
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
12620
|
+
or other liability obligations and/or rights consistent with this
|
12621
|
+
License. However, in accepting such obligations, You may act only
|
12622
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
12623
|
+
of any other Contributor, and only if You agree to indemnify,
|
12624
|
+
defend, and hold each Contributor harmless for any liability
|
12625
|
+
incurred by, or claims asserted against, such Contributor by reason
|
12626
|
+
of your accepting any such warranty or additional liability.
|
12627
|
+
|
12628
|
+
END OF TERMS AND CONDITIONS
|
12629
|
+
|
12630
|
+
APPENDIX: How to apply the Apache License to your work.
|
12631
|
+
|
12632
|
+
To apply the Apache License to your work, attach the following
|
12633
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
12634
|
+
replaced with your own identifying information. (Don't include
|
12635
|
+
the brackets!) The text should be enclosed in the appropriate
|
12636
|
+
comment syntax for the file format. We also recommend that a
|
12637
|
+
file or class name and description of purpose be included on the
|
12638
|
+
same "printed page" as the copyright notice for easier
|
12639
|
+
identification within third-party archives.
|
12640
|
+
|
12641
|
+
Copyright [yyyy] [name of copyright owner]
|
12642
|
+
|
12643
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
12644
|
+
you may not use this file except in compliance with the License.
|
12645
|
+
You may obtain a copy of the License at
|
12646
|
+
|
12647
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
12648
|
+
|
12649
|
+
Unless required by applicable law or agreed to in writing, software
|
12650
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
12651
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12652
|
+
See the License for the specific language governing permissions and
|
12653
|
+
limitations under the License.
|
12654
|
+
|
12655
|
+
================================================================================
|
12656
|
+
regex-syntax v0.7.5 LICENSE-MIT
|
12657
|
+
================================================================================
|
12658
|
+
|
12659
|
+
Copyright (c) 2014 The Rust Project Developers
|
12660
|
+
|
12661
|
+
Permission is hereby granted, free of charge, to any
|
12662
|
+
person obtaining a copy of this software and associated
|
12663
|
+
documentation files (the "Software"), to deal in the
|
12664
|
+
Software without restriction, including without
|
12665
|
+
limitation the rights to use, copy, modify, merge,
|
12666
|
+
publish, distribute, sublicense, and/or sell copies of
|
12667
|
+
the Software, and to permit persons to whom the Software
|
12668
|
+
is furnished to do so, subject to the following
|
12669
|
+
conditions:
|
12670
|
+
|
12671
|
+
The above copyright notice and this permission notice
|
12672
|
+
shall be included in all copies or substantial portions
|
12673
|
+
of the Software.
|
12674
|
+
|
12675
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
12676
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
12677
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
12678
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
12679
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
12680
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
12681
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
12682
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
12683
|
+
DEALINGS IN THE SOFTWARE.
|
12684
|
+
|
12685
|
+
================================================================================
|
12686
|
+
regex-syntax v0.7.5 src/unicode_tables/LICENSE-UNICODE
|
12687
|
+
================================================================================
|
12688
|
+
|
12689
|
+
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
12690
|
+
|
12691
|
+
Unicode Data Files include all data files under the directories
|
12692
|
+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
12693
|
+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
12694
|
+
http://www.unicode.org/utility/trac/browser/.
|
12695
|
+
|
12696
|
+
Unicode Data Files do not include PDF online code charts under the
|
12697
|
+
directory http://www.unicode.org/Public/.
|
12698
|
+
|
12699
|
+
Software includes any source code published in the Unicode Standard
|
12700
|
+
or under the directories
|
12701
|
+
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
12702
|
+
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
12703
|
+
http://www.unicode.org/utility/trac/browser/.
|
12704
|
+
|
12705
|
+
NOTICE TO USER: Carefully read the following legal agreement.
|
12706
|
+
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
|
12707
|
+
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
|
12708
|
+
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
12709
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT.
|
12710
|
+
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
|
12711
|
+
THE DATA FILES OR SOFTWARE.
|
12712
|
+
|
12713
|
+
COPYRIGHT AND PERMISSION NOTICE
|
12714
|
+
|
12715
|
+
Copyright © 1991-2018 Unicode, Inc. All rights reserved.
|
12716
|
+
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
|
12717
|
+
|
12718
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
12719
|
+
a copy of the Unicode data files and any associated documentation
|
12720
|
+
(the "Data Files") or Unicode software and any associated documentation
|
12721
|
+
(the "Software") to deal in the Data Files or Software
|
12722
|
+
without restriction, including without limitation the rights to use,
|
12723
|
+
copy, modify, merge, publish, distribute, and/or sell copies of
|
12724
|
+
the Data Files or Software, and to permit persons to whom the Data Files
|
12725
|
+
or Software are furnished to do so, provided that either
|
12726
|
+
(a) this copyright and permission notice appear with all copies
|
12727
|
+
of the Data Files or Software, or
|
12728
|
+
(b) this copyright and permission notice appear in associated
|
12729
|
+
Documentation.
|
12730
|
+
|
12731
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
12732
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
12733
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
12734
|
+
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
12735
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
12736
|
+
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
12737
|
+
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
12738
|
+
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
12739
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
12740
|
+
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
12741
|
+
|
12742
|
+
Except as contained in this notice, the name of a copyright holder
|
12743
|
+
shall not be used in advertising or otherwise to promote the sale,
|
12744
|
+
use or other dealings in these Data Files or Software without prior
|
12745
|
+
written authorization of the copyright holder.
|
12746
|
+
|
12747
|
+
================================================================================
|
12748
|
+
regex-syntax v0.8.2 LICENSE-APACHE
|
11967
12749
|
================================================================================
|
11968
12750
|
|
11969
12751
|
Apache License
|
@@ -12169,7 +12951,7 @@ See the License for the specific language governing permissions and
|
|
12169
12951
|
limitations under the License.
|
12170
12952
|
|
12171
12953
|
================================================================================
|
12172
|
-
regex-syntax LICENSE-MIT
|
12954
|
+
regex-syntax v0.8.2 LICENSE-MIT
|
12173
12955
|
================================================================================
|
12174
12956
|
|
12175
12957
|
Copyright (c) 2014 The Rust Project Developers
|
@@ -12199,7 +12981,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
12199
12981
|
DEALINGS IN THE SOFTWARE.
|
12200
12982
|
|
12201
12983
|
================================================================================
|
12202
|
-
regex-syntax src/unicode_tables/LICENSE-UNICODE
|
12984
|
+
regex-syntax v0.8.2 src/unicode_tables/LICENSE-UNICODE
|
12203
12985
|
================================================================================
|
12204
12986
|
|
12205
12987
|
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
:slightly_smiling_face: Fast state-of-the-art [tokenizers](https://github.com/huggingface/tokenizers) for Ruby
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/ankane/tokenizers-ruby/workflows/build/badge.svg
|
5
|
+
[![Build Status](https://github.com/ankane/tokenizers-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/tokenizers-ruby/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -34,15 +34,51 @@ Decode
|
|
34
34
|
tokenizer.decode(ids)
|
35
35
|
```
|
36
36
|
|
37
|
-
|
37
|
+
## Training
|
38
|
+
|
39
|
+
Create a tokenizer
|
38
40
|
|
39
41
|
```ruby
|
40
|
-
tokenizer = Tokenizers::
|
42
|
+
tokenizer = Tokenizers::Tokenizer.new(Tokenizers::Models::BPE.new(unk_token: "[UNK]"))
|
41
43
|
```
|
42
44
|
|
43
|
-
|
45
|
+
Set the pre-tokenizer
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
tokenizer.pre_tokenizer = Tokenizers::PreTokenizers::Whitespace.new
|
49
|
+
```
|
50
|
+
|
51
|
+
Train the tokenizer ([example data](https://huggingface.co/docs/tokenizers/quicktour#build-a-tokenizer-from-scratch))
|
52
|
+
|
53
|
+
```ruby
|
54
|
+
trainer = Tokenizers::Trainers::BpeTrainer.new(special_tokens: ["[UNK]", "[CLS]", "[SEP]", "[PAD]", "[MASK]"])
|
55
|
+
tokenizer.train(["wiki.train.raw", "wiki.valid.raw", "wiki.test.raw"], trainer)
|
56
|
+
```
|
57
|
+
|
58
|
+
Encode
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
output = tokenizer.encode("Hello, y'all! How are you 😁 ?")
|
62
|
+
output.tokens
|
63
|
+
```
|
64
|
+
|
65
|
+
Save the tokenizer to a file
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
tokenizer.save("tokenizer.json")
|
69
|
+
```
|
70
|
+
|
71
|
+
Load a tokenizer from a file
|
72
|
+
|
73
|
+
```ruby
|
74
|
+
tokenizer = Tokenizers.from_file("tokenizer.json")
|
75
|
+
```
|
76
|
+
|
77
|
+
Check out the [Quicktour](https://huggingface.co/docs/tokenizers/quicktour) and equivalent [Ruby code](https://github.com/ankane/tokenizers-ruby/blob/master/test/quicktour_test.rb#L8) for more info
|
78
|
+
|
79
|
+
## API
|
44
80
|
|
45
|
-
|
81
|
+
This library follows the [Tokenizers Python API](https://huggingface.co/docs/tokenizers/index). You can follow Python tutorials and convert the code to Ruby in many cases. Feel free to open an issue if you run into problems.
|
46
82
|
|
47
83
|
## History
|
48
84
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/tokenizers/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tokenizers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -26,6 +26,7 @@ files:
|
|
26
26
|
- lib/tokenizers/3.0/tokenizers.so
|
27
27
|
- lib/tokenizers/3.1/tokenizers.so
|
28
28
|
- lib/tokenizers/3.2/tokenizers.so
|
29
|
+
- lib/tokenizers/3.3/tokenizers.so
|
29
30
|
- lib/tokenizers/char_bpe_tokenizer.rb
|
30
31
|
- lib/tokenizers/decoders/bpe_decoder.rb
|
31
32
|
- lib/tokenizers/decoders/ctc.rb
|
@@ -70,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
71
|
version: '3.0'
|
71
72
|
- - "<"
|
72
73
|
- !ruby/object:Gem::Version
|
73
|
-
version: 3.
|
74
|
+
version: 3.4.dev
|
74
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
76
|
requirements:
|
76
77
|
- - ">="
|