<commit_before>Install
====================================

====================================
Dependencies For Building Neoagent
====================================

neoagent requires `libev <http://software.schmorp.de/pkg/libev.html>`_ and 
`json-c <http://oss.metaparadigm.com/json-c/>`_ and `SCons <http://www.scons.org/>`_.
If OS is Debian Squeeze, you may install them with following command.

.. code-block:: sh

 sudo aptitude install libev-dev libjson0-dev scons

====================================
Building Neoagent
====================================

.. code-block:: sh

 scons 

If you use `TCMalloc <http://code.google.com/p/gperftools/>` in neoagent, you may build neoagent with the following option.

.. code-block:: sh
<commit_msg>fixed typo<commit_after>Install
====================================

====================================
Dependencies For Building Neoagent
====================================

neoagent requires `libev <http://software.schmorp.de/pkg/libev.html>`_ and 
`json-c <http://oss.metaparadigm.com/json-c/>`_ and `SCons <http://www.scons.org/>`_.
If OS is Debian Squeeze, you may install them with following command.

.. code-block:: sh

 sudo aptitude install libev-dev libjson0-dev scons

====================================
Building Neoagent
====================================

.. code-block:: sh

 scons 

If you use `TCMalloc <http://code.google.com/p/gperftools/>`_ in neoagent, you may build neoagent with the following option.

.. code-block:: sh

{'fraction_non_alphanumeric': 0.33421750663129973, 'fraction_numerical': 0.001326259946949602, 'mean_word_length': 5.2875, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5249024', 'n_tokens_mistral': 452, 'n_tokens_neox': 415, 'n_words': 115}