<commit_before>"""Module containing Vesper viewer preferences."""


from __future__ import print_function

import json
import os
import sys

import vesper.util.vesper_path_utils as vesper_path_utils
        
            
_DEFAULT_PREFERENCES_FILE_NAME = 'Preferences.json'


_preferences = {}


def load_preferences(file_name=_DEFAULT_PREFERENCES_FILE_NAME):
    
    print('load_preferences')
    
    file_path = _get_preferences_file_path(file_name)
        
    global _preferences
    
    try:<commit_msg>Removed stray print statement from preferences module.<commit_after>"""Module containing Vesper viewer preferences."""


from __future__ import print_function

import json
import os
import sys

import vesper.util.vesper_path_utils as vesper_path_utils
        
            
_DEFAULT_PREFERENCES_FILE_NAME = 'Preferences.json'


_preferences = {}


def load_preferences(file_name=_DEFAULT_PREFERENCES_FILE_NAME):
    
    file_path = _get_preferences_file_path(file_name)
        
    global _preferences
    
    try:
{'fraction_non_alphanumeric': 0.057392996108949414, 'fraction_numerical': 0.0, 'mean_word_length': 3.8537735849056602, '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': '3493263', 'n_tokens_mistral': 324, 'n_tokens_neox': 310, 'n_words': 64}