<jupyter_start><jupyter_text>Instantiating pipeline<jupyter_code>%%capture
%pip install -U ekorpkit[dataset,tokenize]
from ekorpkit import eKonf
print(eKonf.__ekorpkit_path__, eKonf.__version__)
cfg = eKonf.compose(config_group='corpus/builtin=_dummy_fomc_minutes')
cfg.data_dir = './data/fomc_minutes'
db = eKonf.instantiate(cfg)
db.build()<jupyter_output><empty_output><jupyter_text>Process a pipeline  with the ekorpkit configs<jupyter_code>cfg = eKonf.compose(config_group='pipeline=pipeline')
cfg.verbose = True
cfg.data_dir = './data/fomc_minutes'
cfg.data_file = 'fomc_minutes.csv'
cfg._pipeline_ = ['load_dataframe', 'summary_stats']
cfg.summary_stats.output_file = 'fomc_minutes_stats.yaml'
df = eKonf.instantiate(cfg)
df.head()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12646675358539766, 'fraction_numerical': 0.0, 'mean_word_length': 9.105263157894736, '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': '49052', 'license': 'CC-BY-4.0', 'n_tokens_mistral': 310, 'n_tokens_neox': 305, 'n_words': 40, 'path': 'notebooks/pipeline.ipynb', 'repo_name': 'entelecheia/ekorpkit-config', 'size': '767'}