<commit_before>typesuggest
===========
Auto suggest plugin for jQuery.

#how to use
`$(element).suggest(data, options);`

#options

###data
```
data: false,
```
Type: **Array**
Strings or Objects with data to be searched

###min_characters
```
min_characters: 2,
```
Typer : **Integer**
minimum characters before making a suggestion

###display_keys
```
display_keys: ['foo', 'bar'],
```
Type: **Array**
keys to display in suggest menu

For complex span structure, you can pass in objects with nested key names, like so:
```
display_keys: [
  'foo',
  {
    name: 'bars',
    keys: ['bar1', 'bar2']
  }
]
```
This will output the following:
```
<span class="foo">foo</span>
<span class="bars">
  <span class="bar1">bar1</span>
  <span class="bar2">bar2</span>
</span>
```
###search_keys
```
search_keys: ['name'],
```
Type: **Array**<commit_msg>update readme with max_suggest<commit_after>typesuggest
===========
Auto suggest plugin for jQuery.

#how to use
`$(element).suggest(data, options);`

#options

###data
```
data: false,
```
Type: **Array**
Strings or Objects with data to be searched

###min_characters
```
min_characters: 2,
```
Type : **Integer**
minimum characters before making a suggestion

###max_suggest
```
max_suggest: 5,
```
Type : **Integer**
maximum number of items to show in the dropdown

###display_keys
```
display_keys: ['foo', 'bar'],
```
Type: **Array**
keys to display in suggest menu

For complex span structure, you can pass in objects with nested key names, like so:
```
display_keys: [
  'foo',
  {
    name: 'bars',
    keys: ['bar1', 'bar2']
  }
]
```
This will output the following:
```
<span class="foo">foo</span>
<span class="bars">
  <span class="bar1">bar1</span>
  <span class="bar2">bar2</span>
</span>
```
###search_keys
```
search_keys: ['name'],
```
Type: **Array**
{'fraction_non_alphanumeric': 0.1963596249310535, 'fraction_numerical': 0.00827357970215113, 'mean_word_length': 5.170068027210885, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4504237', 'n_tokens_mistral': 645, 'n_tokens_neox': 602, 'n_words': 194}