<commit_before>.. _install.cassandra:

Install Cassandra
-----------------

This document describes basic installation guide example. For more details, see 
http://cassandra.apache.org/

Download cassandra and unzip the tarball.

.. code-block:: bash

   tar xvfz apache-cassandra-1.0.8-bin.tar.gz -C /DB/synaps/cassandra
   mv apache-cassandra-1.0.8 /DB/synaps/cassandra-1.0.8
   ln -s /DB/synaps/cassandra-1.0.8 /DB/synaps/cassandra

To config cassandra, edit configuration file as below. The default config file
path is "/DB/synaps/cassandra/conf/cassandra.yaml"

.. NOTE::
<commit_msg>refs #1367 installation guide update (typo)<commit_after>.. _install.cassandra:

Install Cassandra
-----------------

This document describes basic installation guide example. For more details, see 
http://cassandra.apache.org/

Download cassandra and unzip the tarball.

.. code-block:: bash

   tar xvfz apache-cassandra-1.0.8-bin.tar.gz
   mv apache-cassandra-1.0.8 /DB/synaps/cassandra-1.0.8
   ln -s /DB/synaps/cassandra-1.0.8 /DB/synaps/cassandra

To config cassandra, edit configuration file as below. The default config file
path is "/DB/synaps/cassandra/conf/cassandra.yaml"

.. NOTE::

{'fraction_non_alphanumeric': 0.13935810810810811, 'fraction_numerical': 0.02364864864864865, 'mean_word_length': 3.1725352112676055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7248422', 'n_tokens_mistral': 431, 'n_tokens_neox': 410, 'n_words': 107}