---
title: "init(tagSchemes:)"
framework: naturallanguage
role: symbol
role_heading: Initializer
path: "naturallanguage/nltagger/init(tagschemes:)"
---

# init(tagSchemes:)

Creates a linguistic tagger instance using the specified tag schemes and options.

## Declaration

```swift
init(tagSchemes: [NLTagScheme])
```

## Parameters

- `tagSchemes`: An array of tag schemes to be used. See doc://com.apple.naturallanguage/documentation/NaturalLanguage/NLTagScheme for the possible values.

## Discussion

Discussion Pass any tag schemes to tagSchemes that you intend to use with the methods described in Enumerating linguistic tags and Getting linguistic tags in NLTagger. tip: Avoid specifying tag schemes that you won’t use to ensure optimal performance.

## See Also

### Creating a tagger

- [string](naturallanguage/nltagger/string.md)
