<commit_before>Getting started
***************

Installation
============

Tensor can be installed from PyPi with pip ::

    $ pip install tensor

This will also install Twisted, protobuf and PyYAML

Or you can use the .deb package. Let the latest release from https://github.com/calston/tensor/releases/latest ::
    
    $ aptitude install python-twisted python-protobuf python-yaml
    $ wget https://github.com/calston/tensor/releases/download/0.2.7/tensor_0.2.7_amd64.deb
    $ dpkg -i tensor_0.2.7_amd64.deb

This also gives you an init script and default config in /etc/tensor/
<commit_msg>Update doc with release ver<commit_after>Getting started
***************

Installation
============

Tensor can be installed from PyPi with pip ::

    $ pip install tensor

This will also install Twisted, protobuf and PyYAML

Or you can use the .deb package. Let the latest release from https://github.com/calston/tensor/releases/latest ::
    
    $ aptitude install python-twisted python-protobuf python-yaml
    $ wget https://github.com/calston/tensor/releases/download/0.3.0/tensor_0.3.0_amd64.deb
    $ dpkg -i tensor_0.3.0_amd64.deb

This also gives you an init script and default config in /etc/tensor/

{'fraction_non_alphanumeric': 0.12231404958677686, 'fraction_numerical': 0.021487603305785124, 'mean_word_length': 3.7490196078431373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5061220', 'n_tokens_mistral': 383, 'n_tokens_neox': 360, 'n_words': 118}