<commit_before>.. include:: header.inc

.. _config:	
	
======================
Configuration Settings
======================

Socialize can be easily configured via a configuration file placed in the **assets** path of your project called **socialize.properties**

.. image:: images/socialize.properties.png

The following table lists the configuration options that can be specified in your **socialize.properties** file.

+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| Property                        | Type    | Default  | Example                                | Description                                                      |
+=================================+=========+==========+========================================+==================================================================+
| socialize.consumer.key          | String  | None     | <KEY>   | Your Socialize consumer key                                      |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.consumer.secret       | String  | None     | <KEY>   | Your Socialize consumer secret                                   |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.entity.loader         | String  | None     | com.mypackage.MyEntityLoader           | Fully qualified class name of your entity loader implementation  |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.comments.on.notify    | Boolean | false    |                                        | Users are directed to the comment list for comment notifications |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.require.auth          | Boolean | true     |                                        | Require users to authenticate with a 3rd party for social actions|
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.require.share         | Boolean | false    |                                        | Require users to share with a 3rd party for social actions       |<commit_msg>Updated docs for allow.anon.comments config option<commit_after>.. include:: header.inc

.. _config:	
	
======================
Configuration Settings
======================

Socialize can be easily configured via a configuration file placed in the **assets** path of your project called **socialize.properties**

.. image:: images/socialize.properties.png

The following table lists the configuration options that can be specified in your **socialize.properties** file.

+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| Property                        | Type    | Default  | Example                                | Description                                                      |
+=================================+=========+==========+========================================+==================================================================+
| socialize.consumer.key          | String  | None     | <KEY>   | Your Socialize consumer key                                      |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.consumer.secret       | String  | None     | <KEY>   | Your Socialize consumer secret                                   |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.entity.loader         | String  | None     | com.mypackage.MyEntityLoader           | Fully qualified class name of your entity loader implementation  |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.comments.on.notify    | Boolean | false    |                                        | Users are directed to the comment list for comment notifications |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.require.auth          | Boolean | true     |                                        | Require users to authenticate with a 3rd party for social actions|
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.allow.anon            | Boolean | false    |                                        | Allow users to post comments & likes anonymously                 |
+---------------------------------+---------+----------+----------------------------------------+------------------------------------------------------------------+
| socialize.allow.anon.comments   | Boolean | false    |                                        | Allow users to post comments anonymously                 |
{'fraction_non_alphanumeric': 0.48033560566334554, 'fraction_numerical': 0.0005243838489774515, 'mean_word_length': 0.7157421289355322, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 25, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6697368', 'n_tokens_mistral': 817, 'n_tokens_neox': 745, 'n_words': 244}