---
title: "models(forTagScheme:)"
framework: naturallanguage
role: symbol
role_heading: Instance Method
path: "naturallanguage/nltagger/models(fortagscheme:)"
---

# models(forTagScheme:)

Returns the models that apply to the given tag scheme.

## Declaration

```swift
func models(forTagScheme tagScheme: NLTagScheme) -> [NLModel]
```

## Parameters

- `tagScheme`: The tag scheme to filter the list of models with.

## Return Value

Return Value The array of models that apply to the given tag scheme.

## See Also

### Using models with a tagger

- [setModels(_:forTagScheme:)](naturallanguage/nltagger/setmodels(_:fortagscheme:).md)
