<commit_before>#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <dirent.h>
#include <stdint.h>
#include "lib_od.h"
#include "lib_odisk.h"
#include "odisk_priv.h"



int
main(int argc, char **argv)
{
	odisk_state_t*	odisk;
	obj_data_t *	new_obj;
	int		err;

	err = odisk_init(&odisk, "/opt/dir1");
	if (err) {
		errno = err;
		perror("failed to init odisk");
		exit(1);
	}<commit_msg>Allow different path names.<commit_after>#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <dirent.h>
#include <stdint.h>
#include "lib_od.h"
#include "lib_odisk.h"
#include "odisk_priv.h"



int
main(int argc, char **argv)
{
	odisk_state_t*	odisk;
	obj_data_t *	new_obj;
	char *			path;
	int		err;

	if (argc > 1) {
			path = argv[1];
	} else {
			path = "/opt/dir1";
	}

	err = odisk_init(&odisk, path);
	if (err) {
		errno = err;
		perror("failed to init odisk");
		exit(1);
	}
{'fraction_non_alphanumeric': 0.1776937618147448, 'fraction_numerical': 0.005671077504725898, 'mean_word_length': 4.242574257425742, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 22, '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': '1050092', 'n_tokens_mistral': 494, 'n_tokens_neox': 470, 'n_words': 107}