<commit_before># Client-side Reasoner Demo

The UURAGE Client-side Reasoner Demo is a C# application for playing scenarios on the client-side.

## Prerequisites

* Visual Studio 2015
* A scenario XML created by the [Scenario Editor](https://github.com/UURAGE/ScenarioEditor) or based on the [UUDSL](http://uudsl.github.io/scenario/namespace)
* A compatible release of the [Scenario Reasoner](https://github.com/UURAGE/ScenarioReasoner)

## Usage

### Configure App.config

Inside the ClientSideReasonerDemo folder there is an App.config file that contains the settings for your directory structure.

* The XML directory should point to the directory where your scenario XMLs are stored.
* The CGI directory should point to the directory structure setup in the [Scenario Reasoner](https://github.com/UURAGE/ScenarioReasoner)

### Start the application

Now you can open the solution in Visual Studio and run the application.<commit_msg>Improved README<commit_after># Client-side Reasoner Demo

The UURAGE Client-side Reasoner Demo is a C# application for playing scenarios on the client-side.

## Prerequisites

* Visual Studio 2015
* A scenario XML created by the [Scenario Editor](https://github.com/UURAGE/ScenarioEditor) or based on the [UUDSL](http://uudsl.github.io/scenario)
* A compatible release of the [Scenario Reasoner](https://github.com/UURAGE/ScenarioReasoner)

## Configuration

Inside the ClientSideReasonerDemo folder there is an App.config file that contains the settings for your directory structure.

* The XML directory should point to the directory where your scenario XMLs are stored.
* The CGI directory should point to the directory structure setup in the [Scenario Reasoner](https://github.com/UURAGE/ScenarioReasoner)

## Usage

Now you can open the solution in Visual Studio and run the application.
{'fraction_non_alphanumeric': 0.07334428024083196, 'fraction_numerical': 0.004378762999452655, 'mean_word_length': 5.052980132450331, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5668885', 'n_tokens_mistral': 514, 'n_tokens_neox': 488, 'n_words': 210}