<commit_before># kindlequotes
##### Transforms Kindle 'My Clippings' file to JSON.

## Requirements
Ensure you have [https://nodejs.org/en/](Node) installed on your system.

```
Usage: ./index.js -i 'My Clippings.txt'

Options:

  -o, --outfile [value]  Filename to write JSON [Default; quotes.json]
  -i, --infile [value]   Filename to read kindle highlights [Default: My Clippings.txt]
  -d, --dirname [value]  Path to write outfile to [Default: ./]
  -n, --no-reorder       Prevent re-ordering author names from "Surname, FirstName" to "FirstName Surname"
  -v, --version          Output the version number
  -h, --help             Output usage information
<commit_msg>(docs) modify usage information<commit_after># kindlequotes
##### Transforms Kindle 'My Clippings' file to JSON.

## Requirements
Ensure you have [https://nodejs.org/en/](Node) installed on your system.


## Usage
Run the script from your terminal: `./index.js -i 'My Clippings.txt'`

## Options
```
  -o, --outfile [value]  Filename to write JSON [Default; quotes.json]
  -i, --infile [value]   Filename to read kindle highlights [Default: My Clippings.txt]
  -d, --dirname [value]  Path to write outfile to [Default: ./]
  -n, --no-reorder       Prevent re-ordering author names from "Surname, FirstName" to "FirstName Surname"
  -v, --version          Output the version number
  -h, --help             Output usage information

{'fraction_non_alphanumeric': 0.12900926585887385, 'fraction_numerical': 0.0, 'mean_word_length': 3.1538461538461537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5638732', 'n_tokens_mistral': 456, 'n_tokens_neox': 428, 'n_words': 161}