<commit_before>[[analysis-edgengram-tokenfilter]]
=== Edge NGram Token Filter

A token filter of type `edgeNGram`.

The following are settings that can be set for a `edgeNGram` token
filter type:

[cols="<,<",options="header",]
|======================================================
|Setting |Description
|`min_gram` |Defaults to `1`.
|`max_gram` |Defaults to `2`.
|`side` |Either `front` or `back`. Defaults to `front`.
|======================================================
<commit_msg>Edge NGram: "side" setting was depercated<commit_after>[[analysis-edgengram-tokenfilter]]
=== Edge NGram Token Filter

A token filter of type `edgeNGram`.

The following are settings that can be set for a `edgeNGram` token
filter type:

[cols="<,<",options="header",]
|======================================================
|Setting |Description
|`min_gram` |Defaults to `1`.
|`max_gram` |Defaults to `2`.
|`side` |deprecated. Either `front` or `back`. Defaults to `front`.
|======================================================

{'fraction_non_alphanumeric': 0.3352941176470588, 'fraction_numerical': 0.00392156862745098, 'mean_word_length': 7.368852459016393, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '678992', 'n_tokens_mistral': 301, 'n_tokens_neox': 281, 'n_words': 94}