<commit_before>Color - Represents a color
--------------------------

.. rubric:: Constructor

.. class:: Color(hex)

    Represents a color
    
    :param integer hex: Hex value to intialize the color

.. rubric:: Attributes

.. attribute:: Color.r

    Red channel (float between 0 and 1)
    
.. attribute:: Color.g

    Green channel (float between 0 and 1)

.. attribute:: Color.b

    Blue channel (float between 0 and 1)

.. rubric:: Methods

.. function:: Color.copy(color)

    Copies the given color into this color
    
    :param Color color: Color to copy
    
.. function:: Color.copyGammaToLinear(color)

    Creates a gamma color from a linear color
    
    :param Color color: Color to copy<commit_msg>added docs for 2 functions in color that are not in the r47<commit_after>Color - Represents a color
--------------------------

.. rubric:: Constructor

.. class:: Color(hex)

    Represents a color
    
    :param integer hex: Hex value to intialize the color

.. rubric:: Attributes

.. attribute:: Color.r

    Red channel (float between 0 and 1)
    
.. attribute:: Color.g

    Green channel (float between 0 and 1)

.. attribute:: Color.b

    Blue channel (float between 0 and 1)

.. rubric:: Methods

.. function:: Color.convertGammaToLinear()

    Converts this color from gamma color to linear color

.. function:: Color.convertLinearToGamma()

    Converts this color from linear color to gamma color

.. function:: Color.copy(color)

    Copies the given color into this color
    
    :param Color color: Color to copy
    
.. function:: Color.copyGammaToLinear(color)

    Creates a gamma color from a linear color
    
    :param Color color: Color to copy
{'fraction_non_alphanumeric': 0.11347517730496454, 'fraction_numerical': 0.008865248226950355, 'mean_word_length': 2.4763860369609856, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4500578', 'n_tokens_mistral': 495, 'n_tokens_neox': 459, 'n_words': 197}