<commit_before># -*- coding: utf-8 -*-


class Content:
    """Represents a Spectrum content object

    Supported Operations:

    +-----------+-----------------------------------------+
    | Operation |              Description                |
    +===========+=========================================+
    | str(x)    | Returns the content's raw_content.      |
    +-----------+-----------------------------------------+

    lines : int
        The number of blocks that makes up the Content object
    blocks : NotImplemented
        A ``list`` of :class:`Block` objects that makes up the Content object
    raw_content : NotImplemented
        The raw content data of the message without any emojis or mentions put
         in.
    emojis : NotImplemented
        A ``list`` of :class:`Emoji` objects that make up the Content object
    mentions : NotImplemented
        A ``list`` of :class:`Mention` objects that make up the Content object
    """

    def __init__(self, **kwargs):

        self.lines = len(kwargs['blocks'])

        self.blocks = [NotImplemented]  # TODO
        self.raw_content = NotImplemented
        self.emojis = [NotImplemented]
        self.mentions = [NotImplemented]

    def __str__(self):<commit_msg>Documentation: Content formatting change<commit_after># -*- coding: utf-8 -*-


class Content:
    """Represents a Spectrum content object

    Supported Operations:

    +-----------+-----------------------------------------+
    | Operation |              Description                |
    +===========+=========================================+
    | str(x)    | Returns the content's raw_content.      |
    +-----------+-----------------------------------------+

    lines : int
        The number of blocks that makes up the Content object
    blocks : NotImplemented
        A ``list`` of :class:`Block` objects that makes up the Content object
    raw_content : NotImplemented
        The raw content data of the message without any emojis or mentions put
        in.
    emojis : NotImplemented
        A ``list`` of :class:`Emoji` objects that make up the Content object
    mentions : NotImplemented
        A ``list`` of :class:`Mention` objects that make up the Content object
    """

    def __init__(self, **kwargs):

        self.lines = len(kwargs['blocks'])

        self.blocks = [NotImplemented]  # TODO
        self.raw_content = NotImplemented
        self.emojis = [NotImplemented]
        self.mentions = [NotImplemented]

    def __str__(self):
{'fraction_non_alphanumeric': 0.20485282418456643, 'fraction_numerical': 0.0007955449482895784, 'mean_word_length': 1.8808705612829324, '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': '6570233', 'n_tokens_mistral': 633, 'n_tokens_neox': 593, 'n_words': 206}