<commit_before># Sumo 0.1
API for semantic analysis of web articles.


## Main requirements
<pre>
MongoDB >=2.6.5 
Python >=2.7.5
</pre>

## Basic Installation

<pre>
git clone https://github.com/gdamdam/sumo.git
cd sumo
pip install -r requirements.txt
python requirements_nltk.py
</pre>

## Start

Just lunch the server

<pre>
python ./sumo_server.py -s IP
</pre>

for help and all the options you can use
<pre>
python ./sumo_server.py --help
</pre>

The server provides a REST resource for analyze and store the analysis data of a web document.<commit_msg>readme updated<commit_after># Sumo 0.1
API for semantic analysis of web articles.


## Main requirements
<pre>
MongoDB >=2.6.5 
Python >=2.7.5
</pre>
To install MongoDB on Debian see the document <a href="http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/" target="_blank">http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/</a>

## Basic Installation

<pre>
git clone https://github.com/gdamdam/sumo.git
cd sumo
pip install -r requirements.txt
python requirements_nltk.py
</pre>

## Start

Just lunch the server

<pre>
python ./sumo_server.py -s IP
</pre>

for help and all the options you can use
<pre>
python ./sumo_server.py --help
</pre>

The server provides a REST resource for analyze and store the analysis data of a web document.
{'fraction_non_alphanumeric': 0.11680482290881689, 'fraction_numerical': 0.012057272042200452, 'mean_word_length': 3.955223880597015, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, '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': '1131608', 'n_tokens_mistral': 471, 'n_tokens_neox': 446, 'n_words': 161}