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

# LSMResultGetScore(_:_:)

Returns the likelihood of the specified result.

## Declaration

```swift
func LSMResultGetScore(_ result: LSMResult, _ n: CFIndex) -> Float
```

## Discussion

Discussion A nan score typically indicates that the category doesn’t contain any token.

## See Also

### Querying Result Information

- [LSMResultGetCount(_:)](latentsemanticmapping/lsmresultgetcount(_:).md)
- [LSMResultGetCategory(_:_:)](latentsemanticmapping/lsmresultgetcategory(_:_:).md)
