kreuzberg 3.16.0__py3-none-any.whl → 3.17.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. kreuzberg/__init__.py +2 -0
  2. kreuzberg/_config.py +8 -9
  3. kreuzberg/_extractors/_base.py +0 -46
  4. kreuzberg/_extractors/_html.py +1 -1
  5. kreuzberg/_extractors/_pandoc.py +2 -2
  6. kreuzberg/_extractors/_pdf.py +4 -4
  7. kreuzberg/_gmft.py +2 -2
  8. kreuzberg/_language_detection.py +16 -39
  9. kreuzberg/_mcp/server.py +1 -1
  10. kreuzberg/_mime_types.py +1 -1
  11. kreuzberg/_ocr/_easyocr.py +4 -9
  12. kreuzberg/_ocr/_paddleocr.py +1 -1
  13. kreuzberg/_ocr/_tesseract.py +15 -25
  14. kreuzberg/_token_reduction/__init__.py +11 -0
  15. kreuzberg/_token_reduction/_reducer.py +439 -0
  16. kreuzberg/_token_reduction/_stopwords.py +116 -0
  17. kreuzberg/_token_reduction/stopwords/af_stopwords.json +53 -0
  18. kreuzberg/_token_reduction/stopwords/ar_stopwords.json +482 -0
  19. kreuzberg/_token_reduction/stopwords/bg_stopwords.json +261 -0
  20. kreuzberg/_token_reduction/stopwords/bn_stopwords.json +400 -0
  21. kreuzberg/_token_reduction/stopwords/br_stopwords.json +1205 -0
  22. kreuzberg/_token_reduction/stopwords/ca_stopwords.json +280 -0
  23. kreuzberg/_token_reduction/stopwords/cs_stopwords.json +425 -0
  24. kreuzberg/_token_reduction/stopwords/da_stopwords.json +172 -0
  25. kreuzberg/_token_reduction/stopwords/de_stopwords.json +622 -0
  26. kreuzberg/_token_reduction/stopwords/el_stopwords.json +849 -0
  27. kreuzberg/_token_reduction/stopwords/en_stopwords.json +1300 -0
  28. kreuzberg/_token_reduction/stopwords/eo_stopwords.json +175 -0
  29. kreuzberg/_token_reduction/stopwords/es_stopwords.json +734 -0
  30. kreuzberg/_token_reduction/stopwords/et_stopwords.json +37 -0
  31. kreuzberg/_token_reduction/stopwords/eu_stopwords.json +100 -0
  32. kreuzberg/_token_reduction/stopwords/fa_stopwords.json +801 -0
  33. kreuzberg/_token_reduction/stopwords/fi_stopwords.json +849 -0
  34. kreuzberg/_token_reduction/stopwords/fr_stopwords.json +693 -0
  35. kreuzberg/_token_reduction/stopwords/ga_stopwords.json +111 -0
  36. kreuzberg/_token_reduction/stopwords/gl_stopwords.json +162 -0
  37. kreuzberg/_token_reduction/stopwords/gu_stopwords.json +226 -0
  38. kreuzberg/_token_reduction/stopwords/ha_stopwords.json +41 -0
  39. kreuzberg/_token_reduction/stopwords/he_stopwords.json +196 -0
  40. kreuzberg/_token_reduction/stopwords/hi_stopwords.json +227 -0
  41. kreuzberg/_token_reduction/stopwords/hr_stopwords.json +181 -0
  42. kreuzberg/_token_reduction/stopwords/hu_stopwords.json +791 -0
  43. kreuzberg/_token_reduction/stopwords/hy_stopwords.json +47 -0
  44. kreuzberg/_token_reduction/stopwords/id_stopwords.json +760 -0
  45. kreuzberg/_token_reduction/stopwords/it_stopwords.json +634 -0
  46. kreuzberg/_token_reduction/stopwords/ja_stopwords.json +136 -0
  47. kreuzberg/_token_reduction/stopwords/kn_stopwords.json +84 -0
  48. kreuzberg/_token_reduction/stopwords/ko_stopwords.json +681 -0
  49. kreuzberg/_token_reduction/stopwords/ku_stopwords.json +64 -0
  50. kreuzberg/_token_reduction/stopwords/la_stopwords.json +51 -0
  51. kreuzberg/_token_reduction/stopwords/lt_stopwords.json +476 -0
  52. kreuzberg/_token_reduction/stopwords/lv_stopwords.json +163 -0
  53. kreuzberg/_token_reduction/stopwords/ml_stopwords.json +11 -0
  54. kreuzberg/_token_reduction/stopwords/mr_stopwords.json +101 -0
  55. kreuzberg/_token_reduction/stopwords/ms_stopwords.json +477 -0
  56. kreuzberg/_token_reduction/stopwords/ne_stopwords.json +490 -0
  57. kreuzberg/_token_reduction/stopwords/nl_stopwords.json +415 -0
  58. kreuzberg/_token_reduction/stopwords/no_stopwords.json +223 -0
  59. kreuzberg/_token_reduction/stopwords/pl_stopwords.json +331 -0
  60. kreuzberg/_token_reduction/stopwords/pt_stopwords.json +562 -0
  61. kreuzberg/_token_reduction/stopwords/ro_stopwords.json +436 -0
  62. kreuzberg/_token_reduction/stopwords/ru_stopwords.json +561 -0
  63. kreuzberg/_token_reduction/stopwords/si_stopwords.json +193 -0
  64. kreuzberg/_token_reduction/stopwords/sk_stopwords.json +420 -0
  65. kreuzberg/_token_reduction/stopwords/sl_stopwords.json +448 -0
  66. kreuzberg/_token_reduction/stopwords/so_stopwords.json +32 -0
  67. kreuzberg/_token_reduction/stopwords/st_stopwords.json +33 -0
  68. kreuzberg/_token_reduction/stopwords/sv_stopwords.json +420 -0
  69. kreuzberg/_token_reduction/stopwords/sw_stopwords.json +76 -0
  70. kreuzberg/_token_reduction/stopwords/ta_stopwords.json +129 -0
  71. kreuzberg/_token_reduction/stopwords/te_stopwords.json +54 -0
  72. kreuzberg/_token_reduction/stopwords/th_stopwords.json +118 -0
  73. kreuzberg/_token_reduction/stopwords/tl_stopwords.json +149 -0
  74. kreuzberg/_token_reduction/stopwords/tr_stopwords.json +506 -0
  75. kreuzberg/_token_reduction/stopwords/uk_stopwords.json +75 -0
  76. kreuzberg/_token_reduction/stopwords/ur_stopwords.json +519 -0
  77. kreuzberg/_token_reduction/stopwords/vi_stopwords.json +647 -0
  78. kreuzberg/_token_reduction/stopwords/yo_stopwords.json +62 -0
  79. kreuzberg/_token_reduction/stopwords/zh_stopwords.json +796 -0
  80. kreuzberg/_token_reduction/stopwords/zu_stopwords.json +31 -0
  81. kreuzberg/_types.py +50 -9
  82. kreuzberg/_utils/_image_preprocessing.py +1 -1
  83. kreuzberg/_utils/_ref.py +14 -6
  84. kreuzberg/exceptions.py +0 -1
  85. kreuzberg/extraction.py +33 -10
  86. {kreuzberg-3.16.0.dist-info → kreuzberg-3.17.1.dist-info}/METADATA +6 -5
  87. kreuzberg-3.17.1.dist-info/RECORD +128 -0
  88. kreuzberg-3.16.0.dist-info/RECORD +0 -61
  89. {kreuzberg-3.16.0.dist-info → kreuzberg-3.17.1.dist-info}/WHEEL +0 -0
  90. {kreuzberg-3.16.0.dist-info → kreuzberg-3.17.1.dist-info}/entry_points.txt +0 -0
  91. {kreuzberg-3.16.0.dist-info → kreuzberg-3.17.1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,111 @@
1
+ [
2
+ "a",
3
+ "ach",
4
+ "ag",
5
+ "agus",
6
+ "an",
7
+ "aon",
8
+ "ar",
9
+ "arna",
10
+ "as",
11
+ "b'",
12
+ "ba",
13
+ "beirt",
14
+ "bhúr",
15
+ "caoga",
16
+ "ceathair",
17
+ "ceathrar",
18
+ "chomh",
19
+ "chtó",
20
+ "chuig",
21
+ "chun",
22
+ "cois",
23
+ "céad",
24
+ "cúig",
25
+ "cúigear",
26
+ "d'",
27
+ "daichead",
28
+ "dar",
29
+ "de",
30
+ "deich",
31
+ "deichniúr",
32
+ "den",
33
+ "dhá",
34
+ "do",
35
+ "don",
36
+ "dtí",
37
+ "dá",
38
+ "dár",
39
+ "dó",
40
+ "faoi",
41
+ "faoin",
42
+ "faoina",
43
+ "faoinár",
44
+ "fara",
45
+ "fiche",
46
+ "gach",
47
+ "gan",
48
+ "go",
49
+ "gur",
50
+ "haon",
51
+ "hocht",
52
+ "i",
53
+ "iad",
54
+ "idir",
55
+ "in",
56
+ "ina",
57
+ "ins",
58
+ "inár",
59
+ "is",
60
+ "le",
61
+ "leis",
62
+ "lena",
63
+ "lenár",
64
+ "m'",
65
+ "mar",
66
+ "mo",
67
+ "mé",
68
+ "na",
69
+ "nach",
70
+ "naoi",
71
+ "naonúr",
72
+ "ná",
73
+ "ní",
74
+ "níor",
75
+ "nó",
76
+ "nócha",
77
+ "ocht",
78
+ "ochtar",
79
+ "os",
80
+ "roimh",
81
+ "sa",
82
+ "seacht",
83
+ "seachtar",
84
+ "seachtó",
85
+ "seasca",
86
+ "seisear",
87
+ "siad",
88
+ "sibh",
89
+ "sinn",
90
+ "sna",
91
+ "sé",
92
+ "sí",
93
+ "tar",
94
+ "thar",
95
+ "thú",
96
+ "triúr",
97
+ "trí",
98
+ "trína",
99
+ "trínár",
100
+ "tríocha",
101
+ "tú",
102
+ "um",
103
+ "ár",
104
+ "é",
105
+ "éis",
106
+ "í",
107
+ "ó",
108
+ "ón",
109
+ "óna",
110
+ "ónár"
111
+ ]
@@ -0,0 +1,162 @@
1
+ [
2
+ "a",
3
+ "alí",
4
+ "ao",
5
+ "aos",
6
+ "aquel",
7
+ "aquela",
8
+ "aquelas",
9
+ "aqueles",
10
+ "aquilo",
11
+ "aquí",
12
+ "as",
13
+ "así",
14
+ "aínda",
15
+ "ben",
16
+ "cando",
17
+ "che",
18
+ "co",
19
+ "coa",
20
+ "coas",
21
+ "comigo",
22
+ "con",
23
+ "connosco",
24
+ "contigo",
25
+ "convosco",
26
+ "cos",
27
+ "cun",
28
+ "cunha",
29
+ "cunhas",
30
+ "cuns",
31
+ "da",
32
+ "dalgunha",
33
+ "dalgunhas",
34
+ "dalgún",
35
+ "dalgúns",
36
+ "das",
37
+ "de",
38
+ "del",
39
+ "dela",
40
+ "delas",
41
+ "deles",
42
+ "desde",
43
+ "deste",
44
+ "do",
45
+ "dos",
46
+ "dun",
47
+ "dunha",
48
+ "dunhas",
49
+ "duns",
50
+ "e",
51
+ "el",
52
+ "ela",
53
+ "elas",
54
+ "eles",
55
+ "en",
56
+ "era",
57
+ "eran",
58
+ "esa",
59
+ "esas",
60
+ "ese",
61
+ "eses",
62
+ "esta",
63
+ "estaba",
64
+ "estar",
65
+ "este",
66
+ "estes",
67
+ "estiven",
68
+ "estou",
69
+ "está",
70
+ "están",
71
+ "eu",
72
+ "facer",
73
+ "foi",
74
+ "foron",
75
+ "fun",
76
+ "había",
77
+ "hai",
78
+ "iso",
79
+ "isto",
80
+ "la",
81
+ "las",
82
+ "lle",
83
+ "lles",
84
+ "lo",
85
+ "los",
86
+ "mais",
87
+ "me",
88
+ "meu",
89
+ "meus",
90
+ "min",
91
+ "miña",
92
+ "miñas",
93
+ "moi",
94
+ "na",
95
+ "nas",
96
+ "neste",
97
+ "nin",
98
+ "no",
99
+ "non",
100
+ "nos",
101
+ "nosa",
102
+ "nosas",
103
+ "noso",
104
+ "nosos",
105
+ "nun",
106
+ "nunha",
107
+ "nunhas",
108
+ "nuns",
109
+ "nós",
110
+ "o",
111
+ "os",
112
+ "ou",
113
+ "para",
114
+ "pero",
115
+ "pode",
116
+ "pois",
117
+ "pola",
118
+ "polas",
119
+ "polo",
120
+ "polos",
121
+ "por",
122
+ "que",
123
+ "se",
124
+ "senón",
125
+ "ser",
126
+ "seu",
127
+ "seus",
128
+ "sexa",
129
+ "sido",
130
+ "sobre",
131
+ "súa",
132
+ "súas",
133
+ "tamén",
134
+ "tan",
135
+ "te",
136
+ "ten",
137
+ "ter",
138
+ "teu",
139
+ "teus",
140
+ "teñen",
141
+ "teño",
142
+ "ti",
143
+ "tido",
144
+ "tiven",
145
+ "tiña",
146
+ "túa",
147
+ "túas",
148
+ "un",
149
+ "unha",
150
+ "unhas",
151
+ "uns",
152
+ "vos",
153
+ "vosa",
154
+ "vosas",
155
+ "voso",
156
+ "vosos",
157
+ "vós",
158
+ "á",
159
+ "é",
160
+ "ó",
161
+ "ós"
162
+ ]
@@ -0,0 +1,226 @@
1
+ [
2
+ "અંગે",
3
+ "અંદર",
4
+ "અથવા",
5
+ "અને",
6
+ "અમને",
7
+ "અમારું",
8
+ "અમે",
9
+ "અહીં",
10
+ "આ",
11
+ "આગળ",
12
+ "આથી",
13
+ "આનું",
14
+ "આને",
15
+ "આપણને",
16
+ "આપણું",
17
+ "આપણે",
18
+ "આપી",
19
+ "આર",
20
+ "આવી",
21
+ "આવે",
22
+ "ઉપર",
23
+ "ઉભા",
24
+ "ઊંચે",
25
+ "ઊભું",
26
+ "એ",
27
+ "એક",
28
+ "એન",
29
+ "એના",
30
+ "એનાં",
31
+ "એની",
32
+ "એનું",
33
+ "એને",
34
+ "એનો",
35
+ "એમ",
36
+ "એવા",
37
+ "એવાં",
38
+ "એવી",
39
+ "એવું",
40
+ "એવો",
41
+ "ઓછું",
42
+ "કંઈક",
43
+ "કઈ",
44
+ "કયું",
45
+ "કયો",
46
+ "કરતાં",
47
+ "કરવું",
48
+ "કરી",
49
+ "કરીએ",
50
+ "કરું",
51
+ "કરે",
52
+ "કરેલું",
53
+ "કર્યા",
54
+ "કર્યાં",
55
+ "કર્યું",
56
+ "કર્યો",
57
+ "કાંઈ",
58
+ "કે",
59
+ "કેટલું",
60
+ "કેમ",
61
+ "કેવી",
62
+ "કેવું",
63
+ "કોઈ",
64
+ "કોઈક",
65
+ "કોણ",
66
+ "કોણે",
67
+ "કોને",
68
+ "ક્યાં",
69
+ "ક્યારે",
70
+ "ખૂબ",
71
+ "ગઈ",
72
+ "ગયા",
73
+ "ગયાં",
74
+ "ગયું",
75
+ "ગયો",
76
+ "ઘણું",
77
+ "છ",
78
+ "છતાં",
79
+ "છીએ",
80
+ "છું",
81
+ "છે",
82
+ "છેક",
83
+ "છો",
84
+ "જ",
85
+ "જાય",
86
+ "જી",
87
+ "જે",
88
+ "જેટલું",
89
+ "જેને",
90
+ "જેમ",
91
+ "જેવી",
92
+ "જેવું",
93
+ "જેવો",
94
+ "જો",
95
+ "જોઈએ",
96
+ "જ્યાં",
97
+ "જ્યારે",
98
+ "ઝાઝું",
99
+ "તને",
100
+ "તમને",
101
+ "તમારું",
102
+ "તમે",
103
+ "તા",
104
+ "તારાથી",
105
+ "તારામાં",
106
+ "તારું",
107
+ "તું",
108
+ "તે",
109
+ "તેં",
110
+ "તેઓ",
111
+ "તેણે",
112
+ "તેથી",
113
+ "તેના",
114
+ "તેની",
115
+ "તેનું",
116
+ "તેને",
117
+ "તેમ",
118
+ "તેમનું",
119
+ "તેમને",
120
+ "તેવી",
121
+ "તેવું",
122
+ "તો",
123
+ "ત્યાં",
124
+ "ત્યારે",
125
+ "થઇ",
126
+ "થઈ",
127
+ "થઈએ",
128
+ "થતા",
129
+ "થતાં",
130
+ "થતી",
131
+ "થતું",
132
+ "થતો",
133
+ "થયા",
134
+ "થયાં",
135
+ "થયું",
136
+ "થયેલું",
137
+ "થયો",
138
+ "થવું",
139
+ "થાઉં",
140
+ "થાઓ",
141
+ "થાય",
142
+ "થી",
143
+ "થોડું",
144
+ "દરેક",
145
+ "ન",
146
+ "નં",
147
+ "નં.",
148
+ "નથી",
149
+ "નહિ",
150
+ "નહી",
151
+ "નહીં",
152
+ "ના",
153
+ "ની",
154
+ "નીચે",
155
+ "નું",
156
+ "ને",
157
+ "નો",
158
+ "પછી",
159
+ "પણ",
160
+ "પર",
161
+ "પરંતુ",
162
+ "પહેલાં",
163
+ "પાછળ",
164
+ "પાસે",
165
+ "પોતાનું",
166
+ "પ્રત્યેક",
167
+ "ફક્ત",
168
+ "ફરી",
169
+ "ફરીથી",
170
+ "બંને",
171
+ "બધા",
172
+ "બધું",
173
+ "બની",
174
+ "બહાર",
175
+ "બહુ",
176
+ "બાદ",
177
+ "બે",
178
+ "મને",
179
+ "મા",
180
+ "માં",
181
+ "માટે",
182
+ "માત્ર",
183
+ "મારું",
184
+ "મી",
185
+ "મૂકવું",
186
+ "મૂકી",
187
+ "મૂક્યા",
188
+ "મૂક્યાં",
189
+ "મૂક્યું",
190
+ "મેં",
191
+ "રહી",
192
+ "રહે",
193
+ "રહેવું",
194
+ "રહ્યા",
195
+ "રહ્યાં",
196
+ "રહ્યો",
197
+ "રીતે",
198
+ "રૂ.",
199
+ "રૂા",
200
+ "લેતા",
201
+ "લેતું",
202
+ "લેવા",
203
+ "વગેરે",
204
+ "વધુ",
205
+ "શકે",
206
+ "શા",
207
+ "શું",
208
+ "સરખું",
209
+ "સામે",
210
+ "સુધી",
211
+ "હતા",
212
+ "હતાં",
213
+ "હતી",
214
+ "હતું",
215
+ "હવે",
216
+ "હશે",
217
+ "હશો",
218
+ "હા",
219
+ "હું",
220
+ "હો",
221
+ "હોઈ",
222
+ "હોઈશ",
223
+ "હોઈશું",
224
+ "હોય",
225
+ "હોવા"
226
+ ]
@@ -0,0 +1,41 @@
1
+ [
2
+ "a",
3
+ "amma",
4
+ "ba",
5
+ "ban",
6
+ "ce",
7
+ "cikin",
8
+ "da",
9
+ "don",
10
+ "ga",
11
+ "in",
12
+ "ina",
13
+ "ita",
14
+ "ji",
15
+ "ka",
16
+ "ko",
17
+ "kuma",
18
+ "lokacin",
19
+ "ma",
20
+ "mai",
21
+ "na",
22
+ "ne",
23
+ "ni",
24
+ "sai",
25
+ "shi",
26
+ "su",
27
+ "suka",
28
+ "sun",
29
+ "ta",
30
+ "tafi",
31
+ "take",
32
+ "tana",
33
+ "wani",
34
+ "wannan",
35
+ "wata",
36
+ "ya",
37
+ "yake",
38
+ "yana",
39
+ "yi",
40
+ "za"
41
+ ]