<commit_before>#include <fstream>
#include "type/type.h"
#include "ratimake/adjustit_connector.h"

#include <boost/program_options.hpp>

#include "type/message.h"
#include <utils/logger.h>
#include "utils/exception.h"
#include "config.h"
#include <boost/format.hpp>

namespace nt = navitia::type;
namespace po = boost::program_options;
namespace pt = boost::posix_time;

po::variables_map load_config(int argc, const char** argv){
    po::options_description desc("Allowed options");
    desc.add_options()
        ("help,h", "Affiche l'aide")
        ("date,d", po::value<std::string>(), "Date considéré comme maintenant")
        ("version,v", "Affiche la version")
        ("config-file", po::value<std::string>()->default_value(argv[0] + std::string(".ini")), "chemin vers le fichier de configuration")
        ("log4cplus-config-file", po::value<std::string>()->default_value("log4cplus.ini"), "chemin vers le fichier de configuration de log4cplus")
        ("connect-string", po::value<std::string>(), "parametres de connection à la base de données : DRIVER=FreeTDS;SERVER=;UID=;PWD=;DATABASE=;TDS_Version=8.0;Port=1433;ClientCharset=UTF-8")
        ("media-lang", po::value<std::string>()->default_value("FR"), "filename")
        ("media-media", po::value<std::string>()->default_value("INTERNET"), "filename")
        ("destination", po::value<std::string>(), "nom du fichier généré par ratimake");

    po::variables_map vm;
<commit_msg>help sur ratimake<commit_after>#include <fstream>
#include "type/type.h"
#include "ratimake/adjustit_connector.h"

#include <boost/program_options.hpp>

#include "type/message.h"
#include <utils/logger.h>
#include "utils/exception.h"
#include "config.h"
#include <boost/format.hpp>

namespace nt = navitia::type;
namespace po = boost::program_options;
namespace pt = boost::posix_time;

po::variables_map load_config(int argc, const char** argv){
    po::options_description desc("Allowed options");
    desc.add_options()
        ("help,h", "Affiche l'aide")
        ("date,d", po::value<std::string>(), "Date considéré comme maintenant")
        ("version,v", "Affiche la version")
        ("config-file", po::value<std::string>()->default_value(argv[0] + std::string(".ini")), "chemin vers le fichier de configuration")
        ("log4cplus-config-file", po::value<std::string>()->default_value("log4cplus.ini"), "chemin vers le fichier de configuration de log4cplus")
        ("connect-string", po::value<std::string>(), "parametres de connection à la base de données : DRIVER=FreeTDS;SERVER=;UID=;PWD=;DATABASE=;TDS_Version=8.0;Port=1433;ClientCharset=UTF-8")
        ("media-lang", po::value<std::string>()->default_value("FR"), "langue du media à charger")
        ("media-media", po::value<std::string>()->default_value("INTERNET"), "media à cahrger")
        ("destination", po::value<std::string>()->default_value("at.rt.lz4"), "nom du fichier généré par ratimake");

    po::variables_map vm;

{'fraction_non_alphanumeric': 0.18305084745762712, 'fraction_numerical': 0.007796610169491526, 'mean_word_length': 5.528761061946903, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 34, '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': '2858074', 'n_tokens_mistral': 991, 'n_tokens_neox': 994, 'n_words': 200}