<commit_before># RoboWriter
**Author:** *<NAME>*
**Date:**   *2017-10-28*


RoboWriter is an autocompleting tool for ever day writing like the autocomplete function in messengers like WhatsApp.

This is the RoboWriter server which is used by add-ins for editors like visual studio code or atom.

## Architecture


    +---Controllers
    |   +---SeassonIDController     // Starts the seassion.
    |   +---TextController          // Transmitted the actual text.
    |   +---AutoCompleteController  // Get the next suggestion.
    +---AutoCompleteBrain
    |   +---TaskScheduler           // Taskrunner that works step by step the ToDos and comunicates with the graph db.
    |       +---Task                // A task to work off.
    |   +---GraphBuilder            // Analysed the text and compute the word connections.
    |   +---Suggestion              // Gets the next expected for the sentence.
<commit_msg>Updated README.md.<commit_after># RoboWriter
**Author:** *<NAME>*
**Date:**   *2017-10-28*


RoboWriter is an autocompleting tool for ever day writing like the autocomplete function in messengers like WhatsApp.

This is the RoboWriter server which is used by add-ins for editors like visual studio code or atom.

- [RoboWriter](#robowriter)
    - [Architecture](#architecture)
    - [Tools](#tools)
        - [Neo4J](#neo4j)

## Architecture


    +---Controllers
    |   +---SeassonIDController     // Starts the seassion.
    |   +---TextController          // Transmitted the actual text.
    |   +---AutoCompleteController  // Get the next suggestion.
    +---AutoCompleteBrain
    |   +---TaskScheduler           // Taskrunner that works step by step the ToDos and comunicates with the graph db.
    |       +---Task                // A task to work off.
    |   +---GraphBuilder            // Analysed the text and compute the word connections.
    |   +---Suggestion              // Gets the next expected for the sentence.

## Tools 
### Neo4J

- Neo4J gets installed with choclatey with the command `choco install neo4j-community`.
- The software is located `c:\tools\neo4j-community\neo4j-community-3.2.6\bin\`
- The server gets started by `c:\tools\neo4j-community\neo4j-community-3.2.6\bin\neo4j.bat`

```shell 
> neo4j start       // Starts service.
> neo4j console     // Starts service hosted in a console.

```
{'fraction_non_alphanumeric': 0.1115861479264643, 'fraction_numerical': 0.01453612654980761, 'mean_word_length': 2.3191489361702127, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2316138', 'n_tokens_mistral': 719, 'n_tokens_neox': 672, 'n_words': 234}