pyobjc-framework-Speech 9.2__tar.gz → 10.1__tar.gz

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 (43) hide show
  1. pyobjc-framework-Speech-10.1/Lib/Speech/__init__.py +37 -0
  2. pyobjc-framework-Speech-10.1/Lib/Speech/_metadata.py +521 -0
  3. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Lib/pyobjc_framework_Speech.egg-info/PKG-INFO +6 -3
  4. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Lib/pyobjc_framework_Speech.egg-info/SOURCES.txt +5 -1
  5. pyobjc-framework-Speech-10.1/Lib/pyobjc_framework_Speech.egg-info/requires.txt +2 -0
  6. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Modules/pyobjc-api.h +3 -0
  7. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Modules/pyobjc-compat.h +0 -273
  8. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PKG-INFO +6 -3
  9. pyobjc-framework-Speech-10.1/PyObjCTest/test_sferrors.py +14 -0
  10. pyobjc-framework-Speech-10.1/PyObjCTest/test_sfspeechlanguagemodel.py +17 -0
  11. pyobjc-framework-Speech-10.1/metadata/raw/arm64-14.0.fwinfo +4452 -0
  12. pyobjc-framework-Speech-10.1/metadata/raw/x86_64-14.0.fwinfo +4452 -0
  13. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/pyobjc_setup.py +16 -6
  14. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/setup.py +1 -1
  15. pyobjc-framework-Speech-9.2/Lib/Speech/__init__.py +0 -30
  16. pyobjc-framework-Speech-9.2/Lib/Speech/_metadata.py +0 -172
  17. pyobjc-framework-Speech-9.2/Lib/pyobjc_framework_Speech.egg-info/requires.txt +0 -2
  18. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Lib/pyobjc_framework_Speech.egg-info/dependency_links.txt +0 -0
  19. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Lib/pyobjc_framework_Speech.egg-info/not-zip-safe +0 -0
  20. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Lib/pyobjc_framework_Speech.egg-info/top_level.txt +0 -0
  21. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/License.txt +0 -0
  22. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/MANIFEST.in +0 -0
  23. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Modules/_Speech.m +0 -0
  24. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/Modules/_Speech_protocols.m +0 -0
  25. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/__init__.py +0 -0
  26. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_sfspeechrecognitionrequest.py +0 -0
  27. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_sfspeechrecognitionresult.py +0 -0
  28. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_sfspeechrecognitiontask.py +0 -0
  29. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_sfspeechrecognitiontaskhint.py +0 -0
  30. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_sfspeechrecognizer.py +0 -0
  31. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/PyObjCTest/test_speech.py +0 -0
  32. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/Speech.fwinfo +0 -0
  33. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/metadata.ini +0 -0
  34. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/arm64-12.0.fwinfo +0 -0
  35. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  36. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/arm64-13.0.fwinfo +0 -0
  37. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  38. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  39. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/x86_64-12.0.fwinfo +0 -0
  40. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  41. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/metadata/raw/x86_64-13.0.fwinfo +0 -0
  42. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/pyproject.toml +0 -0
  43. {pyobjc-framework-Speech-9.2 → pyobjc-framework-Speech-10.1}/setup.cfg +0 -0
@@ -0,0 +1,37 @@
1
+ """
2
+ Python mapping for the Speech framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _Speech
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="Speech",
18
+ frameworkIdentifier="com.apple.Speech",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/Speech.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _Speech,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ del sys.modules["Speech._metadata"]
35
+
36
+
37
+ globals().pop("_setup")()
@@ -0,0 +1,521 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sun Jul 23 11:00:24 2023
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$SFAnalysisContextTagLeftContext$SFAnalysisContextTagRightContext$SFAnalysisContextTagSelectedText$SFSpeechErrorDomain$_SFAnalysisContextTagContextualNamedEntities$_SFAnalysisContextTagGeoLMRegionID$_SFAnalysisContextTagLeftContext$_SFAnalysisContextTagRightContext$_SFAnalysisContextTagSelectedText$"""
34
+ enums = """$SFCommandRecognizerArgumentPresenceMissing@3$SFCommandRecognizerArgumentPresenceMissingMaybeExpected@2$SFCommandRecognizerArgumentPresencePresentAndDelimited@0$SFCommandRecognizerArgumentPresencePresentMaybeIncomplete@1$SFSpeechErrorCodeInternalServiceError@1$SFSpeechErrorCodeMalformedSupplementalModel@8$SFSpeechErrorCodeUndefinedTemplateClassName@7$SFSpeechRecognitionTaskHintConfirmation@3$SFSpeechRecognitionTaskHintDictation@1$SFSpeechRecognitionTaskHintSearch@2$SFSpeechRecognitionTaskHintUnspecified@0$SFSpeechRecognitionTaskStateCanceling@3$SFSpeechRecognitionTaskStateCompleted@4$SFSpeechRecognitionTaskStateFinishing@2$SFSpeechRecognitionTaskStateRunning@1$SFSpeechRecognitionTaskStateStarting@0$SFSpeechRecognizerAuthorizationStatusAuthorized@3$SFSpeechRecognizerAuthorizationStatusDenied@1$SFSpeechRecognizerAuthorizationStatusNotDetermined@0$SFSpeechRecognizerAuthorizationStatusRestricted@2$_SFCommandRecognizerArgumentPresenceMissing@3$_SFCommandRecognizerArgumentPresenceMissingMaybeExpected@2$_SFCommandRecognizerArgumentPresencePresentAndDelimited@0$_SFCommandRecognizerArgumentPresencePresentMaybeIncomplete@1$_SFEARResultTypeCandidate@1$_SFEARResultTypeFinal@2$_SFEARResultTypeFinalAndTerminal@3$_SFEARResultTypePartial@0$_SFEARResultTypePauseConfirmation@4$_SFTranscriptionOptionsContextualizedTranscription@2$_SFTranscriptionOptionsEmoji@8$_SFTranscriptionOptionsEtiquetteReplacements@16$_SFTranscriptionOptionsNormalizedTranscription@1$_SFTranscriptionOptionsPunctuation@4$_SFTranscriptionResultAttributeOptionsCmTime@2$_SFTranscriptionResultAttributeOptionsConfidence@1$"""
35
+ misc.update(
36
+ {
37
+ "SFSpeechRecognitionTaskHint": NewType("SFSpeechRecognitionTaskHint", int),
38
+ "SFSpeechErrorCode": NewType("SFSpeechErrorCode", int),
39
+ "_SFCommandRecognizerArgumentPresence": NewType(
40
+ "_SFCommandRecognizerArgumentPresence", int
41
+ ),
42
+ "_SFTranscriptionResultAttributeOptions": NewType(
43
+ "_SFTranscriptionResultAttributeOptions", int
44
+ ),
45
+ "SFSpeechRecognizerAuthorizationStatus": NewType(
46
+ "SFSpeechRecognizerAuthorizationStatus", int
47
+ ),
48
+ "SFSpeechRecognitionTaskState": NewType("SFSpeechRecognitionTaskState", int),
49
+ "_SFTranscriptionOptions": NewType("_SFTranscriptionOptions", int),
50
+ "_SFEARResultType": NewType("_SFEARResultType", int),
51
+ }
52
+ )
53
+ misc.update({})
54
+ misc.update({})
55
+ r = objc.registerMetaDataForSelector
56
+ objc._updatingMetadata(True)
57
+ try:
58
+ r(
59
+ b"NSObject",
60
+ b"speechAnalyzer:didProduceEndpointingResult:",
61
+ {
62
+ "required": True,
63
+ "retval": {"type": b"v"},
64
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
65
+ },
66
+ )
67
+ r(
68
+ b"NSObject",
69
+ b"speechAnalyzer:didProduceTranscriberResult:",
70
+ {
71
+ "required": True,
72
+ "retval": {"type": b"v"},
73
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
74
+ },
75
+ )
76
+ r(
77
+ b"NSObject",
78
+ b"speechAnalyzer:didStopEndpointingWithError:",
79
+ {
80
+ "required": True,
81
+ "retval": {"type": b"v"},
82
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
83
+ },
84
+ )
85
+ r(
86
+ b"NSObject",
87
+ b"speechAnalyzer:didStopTranscriptionWithError:",
88
+ {
89
+ "required": True,
90
+ "retval": {"type": b"v"},
91
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
92
+ },
93
+ )
94
+ r(
95
+ b"NSObject",
96
+ b"speechAnalyzerDidProduceAllTranscriberResults:",
97
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
98
+ )
99
+ r(
100
+ b"NSObject",
101
+ b"speechRecognitionDidDetectSpeech:",
102
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
103
+ )
104
+ r(
105
+ b"NSObject",
106
+ b"speechRecognitionTask:didFinishRecognition:",
107
+ {
108
+ "required": False,
109
+ "retval": {"type": b"v"},
110
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
111
+ },
112
+ )
113
+ r(
114
+ b"NSObject",
115
+ b"speechRecognitionTask:didFinishSuccessfully:",
116
+ {
117
+ "required": False,
118
+ "retval": {"type": b"v"},
119
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"Z"}},
120
+ },
121
+ )
122
+ r(
123
+ b"NSObject",
124
+ b"speechRecognitionTask:didHypothesizeTranscription:",
125
+ {
126
+ "required": False,
127
+ "retval": {"type": b"v"},
128
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
129
+ },
130
+ )
131
+ r(
132
+ b"NSObject",
133
+ b"speechRecognitionTaskFinishedReadingAudio:",
134
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
135
+ )
136
+ r(
137
+ b"NSObject",
138
+ b"speechRecognitionTaskWasCancelled:",
139
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
140
+ )
141
+ r(
142
+ b"NSObject",
143
+ b"speechRecognizer:availabilityDidChange:",
144
+ {
145
+ "required": False,
146
+ "retval": {"type": b"v"},
147
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"Z"}},
148
+ },
149
+ )
150
+ r(
151
+ b"SFSpeechLanguageModel",
152
+ b"prepareCustomLanguageModelForUrl:clientIdentifier:configuration:completion:",
153
+ {
154
+ "arguments": {
155
+ 5: {
156
+ "callable": {
157
+ "retval": {"type": b"v"},
158
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
159
+ }
160
+ }
161
+ }
162
+ },
163
+ )
164
+ r(
165
+ b"SFSpeechLanguageModel",
166
+ b"prepareCustomLanguageModelForUrl:clientIdentifier:configuration:ignoresCache:completion:",
167
+ {
168
+ "arguments": {
169
+ 5: {"type": b"Z"},
170
+ 6: {
171
+ "callable": {
172
+ "retval": {"type": b"v"},
173
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
174
+ }
175
+ },
176
+ }
177
+ },
178
+ )
179
+ r(b"SFSpeechRecognitionRequest", b"addsPunctuation", {"retval": {"type": b"Z"}})
180
+ r(
181
+ b"SFSpeechRecognitionRequest",
182
+ b"requiresOnDeviceRecognition",
183
+ {"retval": {"type": b"Z"}},
184
+ )
185
+ r(
186
+ b"SFSpeechRecognitionRequest",
187
+ b"setAddsPunctuation:",
188
+ {"arguments": {2: {"type": b"Z"}}},
189
+ )
190
+ r(
191
+ b"SFSpeechRecognitionRequest",
192
+ b"setRequiresOnDeviceRecognition:",
193
+ {"arguments": {2: {"type": b"Z"}}},
194
+ )
195
+ r(
196
+ b"SFSpeechRecognitionRequest",
197
+ b"setShouldReportPartialResults:",
198
+ {"arguments": {2: {"type": b"Z"}}},
199
+ )
200
+ r(
201
+ b"SFSpeechRecognitionRequest",
202
+ b"shouldReportPartialResults",
203
+ {"retval": {"type": b"Z"}},
204
+ )
205
+ r(b"SFSpeechRecognitionResult", b"isFinal", {"retval": {"type": b"Z"}})
206
+ r(b"SFSpeechRecognitionTask", b"isCancelled", {"retval": {"type": b"Z"}})
207
+ r(b"SFSpeechRecognitionTask", b"isFinishing", {"retval": {"type": b"Z"}})
208
+ r(b"SFSpeechRecognizer", b"isAvailable", {"retval": {"type": b"Z"}})
209
+ r(
210
+ b"SFSpeechRecognizer",
211
+ b"recognitionTaskWithRequest:resultHandler:",
212
+ {
213
+ "arguments": {
214
+ 3: {
215
+ "callable": {
216
+ "retval": {"type": b"v"},
217
+ "arguments": {
218
+ 0: {"type": b"^v"},
219
+ 1: {"type": b"@"},
220
+ 2: {"type": b"@"},
221
+ },
222
+ }
223
+ }
224
+ }
225
+ },
226
+ )
227
+ r(
228
+ b"SFSpeechRecognizer",
229
+ b"requestAuthorization:",
230
+ {
231
+ "arguments": {
232
+ 2: {
233
+ "callable": {
234
+ "retval": {"type": b"v"},
235
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
236
+ }
237
+ }
238
+ }
239
+ },
240
+ )
241
+ r(
242
+ b"SFSpeechRecognizer",
243
+ b"setSupportsOnDeviceRecognition:",
244
+ {"arguments": {2: {"type": b"Z"}}},
245
+ )
246
+ r(b"SFSpeechRecognizer", b"supportsOnDeviceRecognition", {"retval": {"type": b"Z"}})
247
+ r(
248
+ b"_SFModelDownloadRequest",
249
+ b"downloadWithCompletion:",
250
+ {
251
+ "arguments": {
252
+ 2: {
253
+ "callable": {
254
+ "retval": {"type": b"v"},
255
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
256
+ }
257
+ }
258
+ }
259
+ },
260
+ )
261
+ r(
262
+ b"_SFSpeechAnalyzer",
263
+ b"cancelPendingResultsAndPauseWithCompletion:",
264
+ {
265
+ "arguments": {
266
+ 2: {
267
+ "callable": {
268
+ "retval": {"type": b"v"},
269
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
270
+ }
271
+ }
272
+ }
273
+ },
274
+ )
275
+ r(
276
+ b"_SFSpeechAnalyzer",
277
+ b"finalizeAndFinishThrough:completion:",
278
+ {
279
+ "arguments": {
280
+ 3: {
281
+ "callable": {
282
+ "retval": {"type": b"v"},
283
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
284
+ }
285
+ }
286
+ }
287
+ },
288
+ )
289
+ r(
290
+ b"_SFSpeechAnalyzer",
291
+ b"finalizeAndFinishThroughEndOfInputWithCompletion:",
292
+ {
293
+ "arguments": {
294
+ 2: {
295
+ "callable": {
296
+ "retval": {"type": b"v"},
297
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
298
+ }
299
+ }
300
+ }
301
+ },
302
+ )
303
+ r(
304
+ b"_SFSpeechAnalyzer",
305
+ b"finalizeAndFinishWithCompletion:",
306
+ {
307
+ "arguments": {
308
+ 2: {
309
+ "callable": {
310
+ "retval": {"type": b"v"},
311
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
312
+ }
313
+ }
314
+ }
315
+ },
316
+ )
317
+ r(
318
+ b"_SFSpeechAnalyzer",
319
+ b"finalizeThrough:completion:",
320
+ {
321
+ "arguments": {
322
+ 3: {
323
+ "callable": {
324
+ "retval": {"type": b"v"},
325
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
326
+ }
327
+ }
328
+ }
329
+ },
330
+ )
331
+ r(
332
+ b"_SFSpeechAnalyzer",
333
+ b"finalizeWithCompletion:",
334
+ {
335
+ "arguments": {
336
+ 2: {
337
+ "callable": {
338
+ "retval": {"type": b"v"},
339
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
340
+ }
341
+ }
342
+ }
343
+ },
344
+ )
345
+ r(
346
+ b"_SFSpeechAnalyzer",
347
+ b"getContextWithCompletion:",
348
+ {
349
+ "arguments": {
350
+ 2: {
351
+ "callable": {
352
+ "retval": {"type": b"v"},
353
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
354
+ }
355
+ }
356
+ }
357
+ },
358
+ )
359
+ r(
360
+ b"_SFSpeechAnalyzer",
361
+ b"getModelInfoLanguageWithCompletion:",
362
+ {
363
+ "arguments": {
364
+ 2: {
365
+ "callable": {
366
+ "retval": {"type": b"v"},
367
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
368
+ }
369
+ }
370
+ }
371
+ },
372
+ )
373
+ r(
374
+ b"_SFSpeechAnalyzer",
375
+ b"getModelInfoTasksWithCompletion:",
376
+ {
377
+ "arguments": {
378
+ 2: {
379
+ "callable": {
380
+ "retval": {"type": b"v"},
381
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
382
+ }
383
+ }
384
+ }
385
+ },
386
+ )
387
+ r(
388
+ b"_SFSpeechAnalyzer",
389
+ b"getNextBufferStartTimeWithCompletion:",
390
+ {
391
+ "arguments": {
392
+ 2: {
393
+ "callable": {
394
+ "retval": {"type": b"v"},
395
+ "arguments": {
396
+ 0: {"type": b"^v"},
397
+ 1: {"type": b"{CMTime=qiIq}"},
398
+ },
399
+ }
400
+ }
401
+ }
402
+ },
403
+ )
404
+ r(
405
+ b"_SFSpeechAnalyzer",
406
+ b"getRecognitionStatisticsWithCompletion:",
407
+ {
408
+ "arguments": {
409
+ 2: {
410
+ "callable": {
411
+ "retval": {"type": b"v"},
412
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
413
+ }
414
+ }
415
+ }
416
+ },
417
+ )
418
+ r(
419
+ b"_SFSpeechAnalyzer",
420
+ b"getRecognitionUtterenceStatisticsWithCompletion:",
421
+ {
422
+ "arguments": {
423
+ 2: {
424
+ "callable": {
425
+ "retval": {"type": b"v"},
426
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
427
+ }
428
+ }
429
+ }
430
+ },
431
+ )
432
+ r(
433
+ b"_SFSpeechAnalyzer",
434
+ b"initWithClientIdentifier:inputSequence:audioFormat:transcriberResultDelegate:endpointingResultDelegate:queue:transcriberOptions:commandRecognizerOptions:options:restrictedLogging:geoLMRegionID:contextualNamedEntities:didChangeVolatileRange:",
435
+ {
436
+ "arguments": {
437
+ 11: {"type": b"Z"},
438
+ 14: {
439
+ "callable": {
440
+ "retval": {"type": b"v"},
441
+ "arguments": {
442
+ 0: {"type": b"^v"},
443
+ 1: {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"},
444
+ 2: {"type": b"Z"},
445
+ 3: {"type": b"Z"},
446
+ },
447
+ }
448
+ },
449
+ }
450
+ },
451
+ )
452
+ r(
453
+ b"_SFSpeechAnalyzer",
454
+ b"prepareToAnalyzeReportingInto:completion:",
455
+ {
456
+ "arguments": {
457
+ 3: {
458
+ "callable": {
459
+ "retval": {"type": b"v"},
460
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
461
+ }
462
+ }
463
+ }
464
+ },
465
+ )
466
+ r(
467
+ b"_SFSpeechAnalyzer",
468
+ b"resumeWithCompletion:",
469
+ {
470
+ "arguments": {
471
+ 2: {
472
+ "callable": {
473
+ "retval": {"type": b"v"},
474
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
475
+ }
476
+ }
477
+ }
478
+ },
479
+ )
480
+ r(
481
+ b"_SFSpeechAnalyzer",
482
+ b"setDidChangeVolatileRange:completion:",
483
+ {
484
+ "arguments": {
485
+ 2: {
486
+ "callable": {
487
+ "retval": {"type": b"v"},
488
+ "arguments": {
489
+ 0: {"type": b"^v"},
490
+ 1: {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"},
491
+ 2: {"type": b"Z"},
492
+ 3: {"type": b"Z"},
493
+ },
494
+ }
495
+ },
496
+ 3: {
497
+ "callable": {
498
+ "retval": {"type": b"v"},
499
+ "arguments": {0: {"type": b"^v"}},
500
+ }
501
+ },
502
+ }
503
+ },
504
+ )
505
+ r(b"_SFSpeechAnalyzerOptions", b"highPriority", {"retval": {"type": b"Z"}})
506
+ r(
507
+ b"_SFSpeechAnalyzerOptions",
508
+ b"initWithHighPriority:loggingInfo:powerContext:",
509
+ {"arguments": {2: {"type": b"Z"}}},
510
+ )
511
+ r(b"_SFTranscriberModelOptions", b"farField", {"retval": {"type": b"Z"}})
512
+ r(
513
+ b"_SFTranscriberModelOptions",
514
+ b"initWithSupplementalModelURL:farField:modelOverrideURL:speechProfileURLs:taskForMemoryLock:",
515
+ {"arguments": {3: {"type": b"Z"}}},
516
+ )
517
+ finally:
518
+ objc._updatingMetadata(False)
519
+ expressions = {}
520
+
521
+ # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Speech
3
- Version: 9.2
3
+ Version: 10.1
4
4
  Summary: Wrappers for the framework Speech on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,17 +18,20 @@ Classifier: Operating System :: MacOS :: MacOS X
18
18
  Classifier: Programming Language :: Python
19
19
  Classifier: Programming Language :: Python :: 3
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.7
22
21
  Classifier: Programming Language :: Python :: 3.8
23
22
  Classifier: Programming Language :: Python :: 3.9
24
23
  Classifier: Programming Language :: Python :: 3.10
25
24
  Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
28
  Classifier: Programming Language :: Objective C
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.7
31
+ Requires-Python: >=3.8
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=10.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.1
32
35
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
33
36
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
34
37
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -16,6 +16,8 @@ Modules/_Speech_protocols.m
16
16
  Modules/pyobjc-api.h
17
17
  Modules/pyobjc-compat.h
18
18
  PyObjCTest/__init__.py
19
+ PyObjCTest/test_sferrors.py
20
+ PyObjCTest/test_sfspeechlanguagemodel.py
19
21
  PyObjCTest/test_sfspeechrecognitionrequest.py
20
22
  PyObjCTest/test_sfspeechrecognitionresult.py
21
23
  PyObjCTest/test_sfspeechrecognitiontask.py
@@ -27,8 +29,10 @@ metadata/metadata.ini
27
29
  metadata/raw/arm64-12.0.fwinfo
28
30
  metadata/raw/arm64-12.3.fwinfo
29
31
  metadata/raw/arm64-13.0.fwinfo
32
+ metadata/raw/arm64-14.0.fwinfo
30
33
  metadata/raw/x86_64-10.15.fwinfo
31
34
  metadata/raw/x86_64-10.16.fwinfo
32
35
  metadata/raw/x86_64-12.0.fwinfo
33
36
  metadata/raw/x86_64-12.3.fwinfo
34
- metadata/raw/x86_64-13.0.fwinfo
37
+ metadata/raw/x86_64-13.0.fwinfo
38
+ metadata/raw/x86_64-14.0.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.1
2
+ pyobjc-framework-Cocoa>=10.1
@@ -112,6 +112,8 @@ struct pyobjc_api {
112
112
  size_t max_args, size_t nargsf);
113
113
  int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
114
114
  PyObject* _Nullable kwnames);
115
+
116
+ PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*, const char*);
115
117
  };
116
118
 
117
119
  #ifndef PYOBJC_BUILD
@@ -153,6 +155,7 @@ static struct pyobjc_api* PyObjC_API;
153
155
  #define PyObjCMemView_GetBuffer (PyObjC_API->memview_getbuffer)
154
156
  #define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
155
157
  #define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
158
+ #define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
156
159
 
157
160
  typedef void (*PyObjC_Function_Pointer)(void);
158
161
  typedef struct PyObjC_function_map {