<commit_before>#! /usr/bin/env python
"""
Example usage:
    snscrape http://csdms.colorado.edu/wiki/CSN_Quantity_Templates \
             http://csdms.colorado.edu/wiki/CSN_Object_Templates \
             http://csdms.colorado.edu/wiki/CSN_Operation_Templates \
            > data/scraped.yaml
"""

import os

from cmt.standard_names import FORMATTERS, SCRAPERS, scrape


_AS_YAML = FORMATTERS['yaml']

_DEFAULT_SEARCH = r'\b\w+__\w+'

<commit_msg>Changed to use relative imports.<commit_after>#! /usr/bin/env python
"""
Example usage:
    snscrape http://csdms.colorado.edu/wiki/CSN_Quantity_Templates \
             http://csdms.colorado.edu/wiki/CSN_Object_Templates \
             http://csdms.colorado.edu/wiki/CSN_Operation_Templates \
            > data/scraped.yaml
"""

import os

from . import FORMATTERS, SCRAPERS, scrape


_AS_YAML = FORMATTERS['yaml']

_DEFAULT_SEARCH = r'\b\w+__\w+'


{'fraction_non_alphanumeric': 0.13, 'fraction_numerical': 0.0, 'mean_word_length': 3.0585585585585586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '346280', 'n_tokens_mistral': 344, 'n_tokens_neox': 334, 'n_words': 47}