Bulk update of the public corpus from /Users/mmj/.cupertino-dev/, the local source that built v1.0.0 / v1.0.1 release database bundles. - docs/: 1,739 new pages, 403,381 modified (schema upgrade to the structured-page format used by v1.0+: overview, rawMarkdown, sections[].items[]). Total 404,568 page JSONs (2.4 GB). - packages/: 1,587 packages (1.5 GB), previously empty in this repo. Includes per-package source archives and READMEs for the curated Swift package set. Some packages (notably swiftlang/swift-foundation-icu) ship 50-100 MB ICU lookup tables — under GitHub's 100 MB limit. No deletions: existing files not in .cupertino-dev are preserved (e.g. swift-org/ has 81 historical pages this update doesn't touch).
107 lines
5.0 KiB
JSON
107 lines
5.0 KiB
JSON
{
|
|
"abstract" : "An array of languages to detect, in priority order.",
|
|
"availability" : [
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "iOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "iPadOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "Mac Catalyst",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "macOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "tvOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "26.0",
|
|
"name" : "visionOS",
|
|
"unavailable" : false
|
|
}
|
|
],
|
|
"codeExamples" : [
|
|
|
|
],
|
|
"contentHash" : "7e2c1ffa8c76d4a8b1f56e0b0d8083430d0e0380997e16b85c9043a334c26818",
|
|
"crawlDepth" : 5,
|
|
"crawledAt" : "2026-05-03T10:04:12Z",
|
|
"declaration" : {
|
|
"code" : "var recognitionLanguages: [Locale.Language]",
|
|
"language" : "swift"
|
|
},
|
|
"id" : "E415E63C-F6AE-D3C5-68D4-7B92936C5226",
|
|
"kind" : "property",
|
|
"language" : "swift",
|
|
"module" : "Vision",
|
|
"overview" : "## Discussion\n\nThe order of the languages in the array defines the order in which the system uses languages during language processing and text recognition.\n\nSpecify the languages as two-letter ISO language codes.",
|
|
"platforms" : [
|
|
"iOS",
|
|
"iPadOS",
|
|
"Mac Catalyst",
|
|
"macOS",
|
|
"tvOS",
|
|
"visionOS"
|
|
],
|
|
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/vision\/recognizedocumentsrequest\/textrecognitionoptions-swift.struct\/recognitionlanguages\ncrawled: 2026-05-03T10:04:12Z\n---\n\n# recognitionLanguages\n\n**Instance Property**\n\nAn array of languages to detect, in priority order.\n\n## Declaration\n\n```swift\nvar recognitionLanguages: [Locale.Language]\n```\n\n## Discussion\n\nThe order of the languages in the array defines the order in which the system uses languages during language processing and text recognition.\n\nSpecify the languages as two-letter ISO language codes.\n\n## Inspecting the recognized text\n\n- **automaticallyDetectLanguage**: A Boolean value that indicates whether to attempt detecting the language to use the appropriate model for recognition and language correction.\n- **customWords**: An array of strings to supplement the recognized languages at the word-recognition stage.\n- **maximumCandidateCount**: The maximum number of text candidates to return.\n- **minimumTextHeightFraction**: The minimum height, relative to the image height, of the text to recognize.\n- **useLanguageCorrection**: A Boolean value that indicates whether the request applies language correction during the recognition process.\n\n",
|
|
"sections" : [
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"description" : "A Boolean value that indicates whether to attempt detecting the language to use the appropriate model for recognition and language correction.",
|
|
"name" : "automaticallyDetectLanguage",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Vision\/RecognizeDocumentsRequest\/TextRecognitionOptions-swift.struct\/automaticallyDetectLanguage"
|
|
},
|
|
{
|
|
"description" : "An array of strings to supplement the recognized languages at the word-recognition stage.",
|
|
"name" : "customWords",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Vision\/RecognizeDocumentsRequest\/TextRecognitionOptions-swift.struct\/customWords"
|
|
},
|
|
{
|
|
"description" : "The maximum number of text candidates to return.",
|
|
"name" : "maximumCandidateCount",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Vision\/RecognizeDocumentsRequest\/TextRecognitionOptions-swift.struct\/maximumCandidateCount"
|
|
},
|
|
{
|
|
"description" : "The minimum height, relative to the image height, of the text to recognize.",
|
|
"name" : "minimumTextHeightFraction",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Vision\/RecognizeDocumentsRequest\/TextRecognitionOptions-swift.struct\/minimumTextHeightFraction"
|
|
},
|
|
{
|
|
"description" : "A Boolean value that indicates whether the request applies language correction during the recognition process.",
|
|
"name" : "useLanguageCorrection",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/Vision\/RecognizeDocumentsRequest\/TextRecognitionOptions-swift.struct\/useLanguageCorrection"
|
|
}
|
|
],
|
|
"title" : "Inspecting the recognized text"
|
|
}
|
|
],
|
|
"source" : "appleJSON",
|
|
"title" : "recognitionLanguages",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/vision\/recognizedocumentsrequest\/textrecognitionoptions-swift.struct\/recognitionlanguages"
|
|
} |