<commit_before>Second Exercise (Modules)
=================================================

Please complete the following steps:
 
1. Create a **"sentiment"** module from the sentiment functionality created in the previous exercise, and use it in your TCP server implementation. Do it by:
 * Creating a directory named **"sentiment"**
 * Creating a file named **"index.js"** inside the **"sentiment"** directory
 * Moving the sentiment functionality to the created **"index.js"** and exposing it as a module
 * Using the new **"sentiment"** module from your TCP server implementation
2. Use the require.async module to load the AFINN.json dictionary asynchronously inside your **"sentiment"** module.

#####Use the AFINN.json in this repository for the score calculations
#####*You can also use the boilerplate index.js as a starting point for your server code*
<commit_msg>improve description in readme<commit_after>Second Exercise (Modules)
=================================================

Please complete the following steps:
 
1. Create a **"sentiment"** module from the sentiment functionality created in the previous exercise, and use it in your TCP server implementation. Do it by:
 * Creating a directory named **"sentiment"**
 * Creating a file named **"index.js"** inside the **"sentiment"** directory
 * Moving the sentiment functionality to the created **"index.js"** and exposing it as a module
 * Using the new **"sentiment"** module from your TCP server implementation
2. Use the **"require.async"** community module to load the AFINN.json dictionary asynchronously inside your **"sentiment"** module (**HINT: your "sentiment" processing code should be run asynchronously, right after "require.async" has completed loading the AFINN.json dictionary**)

#####Use the AFINN.json in this repository for the score calculations
#####*You can also use the boilerplate index.js as a starting point for your server code*

{'fraction_non_alphanumeric': 0.1393782383419689, 'fraction_numerical': 0.002072538860103627, 'mean_word_length': 5.613013698630137, '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': '5228458', 'n_tokens_mistral': 464, 'n_tokens_neox': 451, 'n_words': 244}