---
title: "init(validation:algorithm:language:)"
framework: createml
role: symbol
role_heading: Initializer
path: "createml/mlwordtagger/modelparameters-swift.struct/init(validation:algorithm:language:)"
---

# init(validation:algorithm:language:)

Creates model parameters.

## Declaration

```swift
init(validation: MLWordTagger.ModelParameters.ValidationData = .split(strategy: .automatic), algorithm: MLWordTagger.ModelAlgorithmType = .crf(revision: 1), language: NLLanguage? = nil)
```

## Parameters

- `validation`: The validation data source.
- `algorithm`: The algorithm type.
- `language`: The language of the text to tag.

## See Also

### Creating parameters

- [MLWordTagger.ModelAlgorithmType](createml/mlwordtagger/modelalgorithmtype.md)
- [MLWordTagger.ModelParameters.ValidationData](createml/mlwordtagger/modelparameters-swift.struct/validationdata-swift.enum.md)
