<commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# PolyglotDB documentation build configuration file, created by
# sphinx-quickstart on Tue Sep 22 21:00:10 2015.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os

import mock

MOCK_MODULES = ['textgrid', 'textgrid.textgrid',
                'py2neo', 'py2neo.database', 'py2neo.database.status',
                'py2neo.packages', 'py2neo.packages.httpstream',
                'py2neo.packages.httpstream.http', 'neo4j',
                'sqlalchemy', 'influxdb', 'influxdb.exceptions',
                'sqlalchemy.orm', 'sqlalchemy.sql', 'sqlalchemy.sql.expression',
                'sqlalchemy.ext', 'sqlalchemy.ext.hybrid','sqlalchemy.ext.declarative', 'sqlalchemy.ext.orderinglist',
                'sqlalchemy.ext.associationproxy', 'sqlalchemy.ext.hybrid',
                'numpy', 'resampy', 'audioread',
                'scipy', 'scipy.signal', 'scipy.io',
                'librosa', 'librosa.core.spectrum', 'neo4j.v1',
                'pyraat',
                'pyraat.parse_outputs',
                'conch',
                'praatio', 'praatio.utilities',
                'conch.utils',
                'conch.analysis',
                'conch.analysis.autovot',
                'conch.analysis.praat',
                'conch.analysis.segments',
                'conch.analysis.pitch',
                'conch.analysis.formants',
                'conch.analysis.intensity',
                'conch.multiprocessing',
                'conch.main', 'conch.utils'
                'conch.analysis.helper']

for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = mock.Mock()


# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../'))
import polyglotdb
# -- General configuration ------------------------------------------------
<commit_msg>Fix read the docs<commit_after>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# PolyglotDB documentation build configuration file, created by
# sphinx-quickstart on Tue Sep 22 21:00:10 2015.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os

import mock

MOCK_MODULES = ['textgrid', 'textgrid.textgrid',
                'py2neo', 'py2neo.database', 'py2neo.database.status',
                'py2neo.packages', 'py2neo.packages.httpstream',
                'py2neo.packages.httpstream.http', 'neo4j',
                'sqlalchemy', 'influxdb', 'influxdb.exceptions',
                'sqlalchemy.orm', 'sqlalchemy.sql', 'sqlalchemy.sql.expression',
                'sqlalchemy.ext', 'sqlalchemy.ext.hybrid','sqlalchemy.ext.declarative', 'sqlalchemy.ext.orderinglist',
                'sqlalchemy.ext.associationproxy', 'sqlalchemy.ext.hybrid',
                'numpy', 'resampy', 'audioread',
                'scipy', 'scipy.signal', 'scipy.io',
                'librosa', 'librosa.core.spectrum', 'neo4j.v1',
                'pyraat',
                'pyraat.parse_outputs',
                'conch',
                'praatio', 'praatio.utilities', 'praatio.utilities.errors',
                'conch.utils',
                'conch.analysis',
                'conch.analysis.autovot',
                'conch.analysis.praat',
                'conch.analysis.segments',
                'conch.analysis.pitch',
                'conch.analysis.formants',
                'conch.analysis.intensity',
                'conch.multiprocessing',
                'conch.main', 'conch.utils'
                'conch.analysis.helper']

for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = mock.Mock()


# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../'))
import polyglotdb
# -- General configuration ------------------------------------------------

{'fraction_non_alphanumeric': 0.1439812845597618, 'fraction_numerical': 0.010633772862611655, 'mean_word_length': 2.192803801765105, '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': '6771726', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1377, 'n_words': 330}