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

# LSMMapApplyClusters(_:_:)

Groups categories or words (tokens) into the specified sets of clusters.

## Declaration

```swift
func LSMMapApplyClusters(_ mapref: LSMMap, _ clusters: CFArray) -> OSStatus
```

## See Also

### Starting Classification Mode

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