Dictionary (Swift)
E770631
Dictionary (Swift) is a generic key-value collection type in the Swift programming language that stores associations between unique keys and their corresponding values.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Dictionary (Swift) canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T9004029 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: Dictionary (Swift) Context triple: [Foundation framework, includes, Dictionary (Swift)]
-
A.
Ei Thesaurus
Ei Thesaurus is a controlled vocabulary and indexing tool used to standardize subject terms for engineering and technical literature in the Ei Compendex database.
-
B.
Webster
Webster is a common English surname most famously associated with American lexicographer Noah Webster, whose name is linked to influential early American dictionaries.
-
C.
Collins English Dictionary
Collins English Dictionary is a major authoritative reference work on the English language, particularly influential for British English usage and spelling.
-
D.
Daniel Jones's English Pronouncing Dictionary
Daniel Jones's English Pronouncing Dictionary is a seminal reference work that systematically documents and standardizes British English pronunciation, particularly the accent known as Received Pronunciation.
-
E.
BBC Pronunciation Dictionary
The BBC Pronunciation Dictionary is a reference work that standardizes and records the preferred pronunciations of words and names in BBC English for broadcasters and language professionals.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: Dictionary (Swift) Target entity description: Dictionary (Swift) is a generic key-value collection type in the Swift programming language that stores associations between unique keys and their corresponding values.
-
A.
Ei Thesaurus
Ei Thesaurus is a controlled vocabulary and indexing tool used to standardize subject terms for engineering and technical literature in the Ei Compendex database.
-
B.
Webster
Webster is a common English surname most famously associated with American lexicographer Noah Webster, whose name is linked to influential early American dictionaries.
-
C.
Collins English Dictionary
Collins English Dictionary is a major authoritative reference work on the English language, particularly influential for British English usage and spelling.
-
D.
Daniel Jones's English Pronouncing Dictionary
Daniel Jones's English Pronouncing Dictionary is a seminal reference work that systematically documents and standardizes British English pronunciation, particularly the accent known as Received Pronunciation.
-
E.
BBC Pronunciation Dictionary
The BBC Pronunciation Dictionary is a reference work that standardizes and records the preferred pronunciations of words and names in BBC English for broadcasters and language professionals.
- F. None of above. chosen
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
Swift standard library type
ⓘ
generic collection type ⓘ key-value collection ⓘ |
| accessComplexity | average O(1) lookup by key ⓘ |
| conformsTo |
Collection
ⓘ
CustomDebugStringConvertible NERFINISHED ⓘ CustomStringConvertible NERFINISHED ⓘ ExpressibleByDictionaryLiteral NERFINISHED ⓘ MutableCollection ⓘ RandomAccessCollection NERFINISHED ⓘ Sequence ⓘ |
| defaultImplementationDetail | hash table based ⓘ |
| definedInLanguage | Swift NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/swift/dictionary ⓘ |
| genericParameter |
Key
ⓘ
Value ⓘ |
| hasInitializer |
init()
ⓘ
init(grouping:by:) ⓘ init(minimumCapacity: Int) ⓘ init(uniqueKeysWithValues:) ⓘ |
| hasMethod |
compactMapValues(_:)
ⓘ
filter(_:) ⓘ mapValues(_:) ⓘ merge(_:uniquingKeysWith:) ⓘ merging(_:uniquingKeysWith:) ⓘ removeValue(forKey:) ⓘ updateValue(_:forKey:) ⓘ |
| hasProperty |
count
ⓘ
isEmpty ⓘ keys ⓘ values ⓘ |
| introducedInVersion | Swift 1.0 ⓘ |
| keyRequirement | Key must be Hashable ⓘ |
| keyUniqueness | keys are unique ⓘ |
| literalSyntax | [key: value, key2: value2] ⓘ |
| module | Swift Standard Library NERFINISHED ⓘ |
| mutationComplexity | average O(1) insertion by key ⓘ |
| namespace | global in Swift module ⓘ |
| ordering | does not guarantee key order ⓘ |
| relatedType |
Array (Swift)
ⓘ
Set (Swift) NERFINISHED ⓘ |
| requiresKeyConformance | Hashable ⓘ |
| stores | associations between unique keys and values ⓘ |
| supportsMutation |
insertion
GENERATED
ⓘ
removal GENERATED ⓘ update GENERATED ⓘ |
| supportsSubscript |
subscript(key: Key) -> Value?
GENERATED
ⓘ
subscript(key: Key, default defaultValue: @autoclosure () -> Value) -> Value GENERATED ⓘ |
| syntax |
Dictionary<Key, Value>
ⓘ
[Key: Value] ⓘ |
| valueMultiplicity | values may be duplicated ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: Dictionary (Swift) Description of subject: Dictionary (Swift) is a generic key-value collection type in the Swift programming language that stores associations between unique keys and their corresponding values.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.