<!--
{
  "documentType" : "article",
  "framework" : "LatentSemanticMapping",
  "identifier" : "/documentation/LatentSemanticMapping/map-flags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Map Flags"
}
-->

# Map Flags

Options for creating a map.

## Discussion

Specify these options for [`LSMMapCreate(_:_:)`](/documentation/LatentSemanticMapping/LSMMapCreate(_:_:)). These options can improve mapping accuracy, but may result in a potentially significant increase in memory use.

## Topics

### Constants

[`var kLSMMapPairs: Int`](/documentation/LatentSemanticMapping/kLSMMapPairs)

An option that specifies to use pairs in addition to single words.

[`var kLSMMapTriplets: Int`](/documentation/LatentSemanticMapping/kLSMMapTriplets)

An option that specifies to use triplets and pairs in addition to single words.

[`var kLSMMapHashText: Int`](/documentation/LatentSemanticMapping/kLSMMapHashText)

An option that specifies to transform the text so it’s not human-readable.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)