<commit_before>// -*- coding: utf-8 -*-
/** \example mujindownloadfile.cpp

    Shows how to download file
    example1: mujindownloadfile --controller_hostname=yourhost --remotefilename=sample.mujin.dae --filename=backup.mujin.dae
 */

#include <mujincontrollerclient/mujincontrollerclient.h>

#include <boost/program_options.hpp>
#include <signal.h>
#include <iostream>

#if defined(_WIN32) || defined(_WIN64)
#undef GetUserName // clashes with ControllerClient::GetUserName
#define NOMINMAX
#include <windows.h>
const char s_filesep = '\\';
const wchar_t s_wfilesep = L'\\';
#else
const char s_filesep = '/';
const wchar_t s_wfilesep = L'/';
#endif // defined(_WIN32) || defined(_WIN64)<commit_msg>fix sample doc<commit_after>// -*- coding: utf-8 -*-
/** \example mujinlistfiles.cpp

    Shows how to list files
    example1: mujinlistfiles --controller_hostname=yourhost
 */

#include <mujincontrollerclient/mujincontrollerclient.h>

#include <boost/program_options.hpp>
#include <signal.h>
#include <iostream>

#if defined(_WIN32) || defined(_WIN64)
#undef GetUserName // clashes with ControllerClient::GetUserName
#define NOMINMAX
#include <windows.h>
const char s_filesep = '\\';
const wchar_t s_wfilesep = L'\\';
#else
const char s_filesep = '/';
const wchar_t s_wfilesep = L'/';
#endif // defined(_WIN32) || defined(_WIN64)
{'fraction_non_alphanumeric': 0.14264264264264265, 'fraction_numerical': 0.015015015015015015, 'mean_word_length': 4.924444444444444, 'pattern_counts': {'":': 0, '<': 13, '<?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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7558458', 'n_tokens_mistral': 473, 'n_tokens_neox': 457, 'n_words': 105}