<commit_before># word-search-solver
NodeJS module to solver word search puzzles
=========

Allows you to solve word search puzzles by feeding it a matrix with the letters and the words to find

## Installation

  `npm install word-search-solver`

## Usage

```js
  const wordSearchSolver = require('word-search-solver');
  const matrix = [
    [ 'c', 'i', 'o', t' ], 
    [ 'a', 'o', 'a', h' ], 
    [ 'u', 'b', 'w', z' ], 
    [ 'q', 'x', 'a', m' ], 
  ];
  const wordsToFind = [
    'bat',
    'cow',
    'max'
  ];

  const solution = wordSearchSolver(matrix, wordsToFind);
```

  The output will be:

```js<commit_msg>Fixed missing quotes in readme<commit_after># word-search-solver
NodeJS module to solver word search puzzles
=========

Allows you to solve word search puzzles by feeding it a matrix with the letters and the words to find

## Installation

  `npm install word-search-solver`

## Usage

```js
  const wordSearchSolver = require('word-search-solver');
  const matrix = [
    [ 'c', 'i', 'o', 't' ], 
    [ 'a', 'o', 'a', 'h' ], 
    [ 'u', 'b', 'w', 'z' ], 
    [ 'q', 'x', 'a', 'm' ], 
  ];
  const wordsToFind = [
    'bat',
    'cow',
    'max'
  ];

  const solution = wordSearchSolver(matrix, wordsToFind);
```

  The output will be:

```js
{'fraction_non_alphanumeric': 0.183399209486166, 'fraction_numerical': 0.0, 'mean_word_length': 3.1237785016286646, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1905712', 'n_tokens_mistral': 472, 'n_tokens_neox': 441, 'n_words': 143}