---
title: "LSMMapCompile(_:)"
framework: Latent Semantic Mapping
role: symbol
role_heading: Function
path: "latentsemanticmapping/lsmmapcompile(_:)"
---

# LSMMapCompile(_:)

Compiles the map into executable form and puts it into mapping mode, preparing it for the classification of texts.

## Declaration

```swift
func LSMMapCompile(_ mapref: LSMMap) -> OSStatus
```

## Discussion

Discussion This function is computationally expensive.

## See Also

### Starting Classification Mode

- [LSMMapCreateClusters(_:_:_:_:_:)](latentsemanticmapping/lsmmapcreateclusters(_:_:_:_:_:).md)
- [Clustering Flags](latentsemanticmapping/clustering-flags.md)
- [LSMMapApplyClusters(_:_:)](latentsemanticmapping/lsmmapapplyclusters(_:_:).md)
