<commit_before>package org.hive2hive.client;

import java.io.IOException;

import org.hive2hive.client.menu.TopLevelMenu;
import org.hive2hive.core.log.H2HLoggerFactory;

/**
 * A console-based client to use the Hive2Hive library.
 * 
 * @author Christian
 * 
 */
public class ConsoleClient {

	public static void main(String[] args) {

		printHeader();

		try {
			H2HLoggerFactory.initFactory();
		} catch (IOException e) {
			System.out.println("H2HLoggerFactory could not be initialized.");
		}

		new TopLevelMenu().open();
		
		printFooter();

		System.exit(0);
	}

	private static void printHeader() {
		System.out.println("\n**************************************************************************************************");
		System.out.println("*                                                                           .'`.                *");
		System.out.println("*                                                                           |   |                *");
		System.out.println("*                           Welcome to the Hive2Hive console client!      . `- `.              *");
		System.out.println("*                                                                         |   |   |              *");
		System.out.println("*                                                                          `- `-               *");
		System.out.println("**************************************************************************************************");
		System.out.println("\nConfigure your H2H network and nodes by browsing through the menus and follow the guides.\n");
	}
	
	private static void printFooter() {
		System.out.println("**************************************************************************************************");
		System.out.println("*                                                                           .'`.                *");
		System.out.println("*                                                                           |   |                *");
		System.out.println("*                                          Goodbye!                       . `- `.              *");
		System.out.println("*                                    (www.hive2hive.com)                  |   |   |              *");
		System.out.println("*                                                                          `- `-               *");
		System.out.println("**************************************************************************************************\n");
	}
}<commit_msg>header adaption<commit_after>package org.hive2hive.client;

import java.io.IOException;

import org.hive2hive.client.menu.TopLevelMenu;
import org.hive2hive.core.log.H2HLoggerFactory;

/**
 * A console-based client to use the Hive2Hive library.
 * 
 * @author Christian
 * 
 */
public class ConsoleClient {

	public static void main(String[] args) {

		printHeader();

		try {
			H2HLoggerFactory.initFactory();
		} catch (IOException e) {
			System.out.println("H2HLoggerFactory could not be initialized.");
		}

		new TopLevelMenu().open();
		
		printFooter();

		System.exit(0);
	}

	private static void printHeader() {
		System.out.println("\n******************************************************************************************");
		System.out.println("*                                                                        .'`.             *");
		System.out.println("*                                                                        |   |             *");
		System.out.println("*                        Welcome to the Hive2Hive console client!      . `- `.           *");
		System.out.println("*                                                                      |   |   |           *");
		System.out.println("*                                                                       `- `-            *");
		System.out.println("********************************************************************************************");
		System.out.println("\nConfigure your H2H network and nodes by browsing through the menus and follow the guides.\n");
	}
	
	private static void printFooter() {
		System.out.println("********************************************************************************************");
		System.out.println("*                                                                        .'`.             *");
		System.out.println("*                                                                        |   |             *");
		System.out.println("*                                          Goodbye!                    . `- `.           *");
		System.out.println("*                                    (www.hive2hive.com)               |   |   |           *");
		System.out.println("*                                                                       `- `-            *");
		System.out.println("********************************************************************************************\n");
	}
}
{'fraction_non_alphanumeric': 0.2501979414093428, 'fraction_numerical': 0.00435471100554236, 'mean_word_length': 1.2558035714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 64, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3402136', 'n_tokens_mistral': 1133, 'n_tokens_neox': 997, 'n_words': 173}