<commit_before>
/** \file main.cpp
 *
 * \brief Contains main function, and possibly some small amount
 * of other code, relating to Phatbooks application.
 *
 * \author <NAME>
 * \date 04 July 2012.
 *
 * Copyright (c) 2012, <NAME>. All rights reserved.
 */



#include "phatbooks_text_session.hpp"
#include <cassert>
#include <iostream>
#include <string>

using phatbooks::PhatbooksTextSession;
using std::cout;
using std::endl;
using std::string;


int main(int argc, char** argv)
{
	if (argc != 2)
	{
		cout << "Usage: " << argv[0] << " FILENAME" << endl;
		return 1;
	}
	string filename(argv[1]);
	if (filename.empty())<commit_msg>Very minor edit, inserting a const in main for variable holding command line arg filename.<commit_after>
/** \file main.cpp
 *
 * \brief Contains main function, and possibly some small amount
 * of other code, relating to Phatbooks application.
 *
 * \author <NAME>
 * \date 04 July 2012.
 *
 * Copyright (c) 2012, <NAME>. All rights reserved.
 */



#include "phatbooks_text_session.hpp"
#include <cassert>
#include <iostream>
#include <string>

using phatbooks::PhatbooksTextSession;
using std::cout;
using std::endl;
using std::string;


int main(int argc, char** argv)
{
	if (argc != 2)
	{
		cout << "Usage: " << argv[0] << " FILENAME" << endl;
		return 1;
	}
	string const filename(argv[1]);
	if (filename.empty())
{'fraction_non_alphanumeric': 0.14612546125461254, 'fraction_numerical': 0.020664206642066422, 'mean_word_length': 4.155893536121673, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 13, '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': '1099224', 'n_tokens_mistral': 490, 'n_tokens_neox': 452, 'n_words': 148}