<commit_before># node-nlp-test1
A test of the NaturalNode package in javascript. This package seems to be more promising that the others for JS.


To test, first cd into the directory and install dependencies with:
```
npm install should
npm install csv-parse
npm install natural
npm install formidable
npm install snoowrap
```

Then run:
```
node index.js
```<commit_msg>edited readme<commit_after># node-nlp-test1
A test of the NaturalNode package in javascript. This package seems to be more promising that the others for JS.


To test, first cd into the directory and install dependencies with:
```
npm install should
npm install csv-parse
npm install natural
npm install formidable
npm install snoowrap
```
On lines 99-105, you will have to fill it our with your own information.

Then run:
```
node index.js
```
{'fraction_non_alphanumeric': 0.06487148102815178, 'fraction_numerical': 0.008567931456548347, 'mean_word_length': 4.602739726027397, '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': '6996366', 'n_tokens_mistral': 253, 'n_tokens_neox': 217, 'n_words': 119}