Files
elasticsearch-js/docs/reference/api/MlDataframeAnalysisFeatureProcessorNGramEncoding.md
2025-05-28 10:02:30 -05:00

11 lines
823 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# `MlDataframeAnalysisFeatureProcessorNGramEncoding` [interface-MlDataframeAnalysisFeatureProcessorNGramEncoding]
| Name | Type | Description |
| - | - | - |
| `custom` | boolean |   |
| `feature_prefix` | string | The feature name prefix. Defaults to ngram_ _ . |
| `field` | [Field](./Field.md) | The name of the text field to encode. |
| `length` | [integer](./integer.md) | Specifies the length of the n-gram substring. Defaults to 50. Must be greater than 0. |
| `n_grams` | [integer](./integer.md)[] | Specifies which n-grams to gather. It’s an array of integer values where the minimum value is 1, and a maximum value is 5. |
| `start` | [integer](./integer.md) | Specifies the zero-indexed start of the n-gram substring. Negative values are allowed for encoding n-grams of string suffixes. Defaults to 0. |