<jupyter_start><jupyter_text>load Test json sample<jupyter_code>import json

path = "test_sample.json"
with open(path, 'r') as f:
    dict1 = json.load(f)<jupyter_output><empty_output><jupyter_text>Widget: search<jupyter_code>import sys
import os
# add repo path
sys.path.append(os.path.abspath(".."))

from pydict_gui import app_search
from pydict_gui import utils
from importlib import reload
reload(app_search)
reload(utils)
app1 = app_search.App(dict1, save_path='test.json')
app1.run()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11923076923076924, 'fraction_numerical': 0.007692307692307693, 'mean_word_length': 7.540983606557377, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '410582', 'license': 'Apache-2.0', 'n_tokens_mistral': 200, 'n_tokens_neox': 196, 'n_words': 40, 'path': 'example/test_gui.ipynb', 'repo_name': 'qulab-sqc/PyDict_GUI', 'size': '520'}