<commit_before>/*
 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
 */
/*
 * This conforms with the freedesktop.org XDG Base Directory Specification version 0.6
 *
 * The policy here is to add extra directories to the possible search paths to 
 * cater for quirks of different OS's.  It doesn't take long to eliminate an
 * excess directory from the paths.
 */

#include <Ecore.h>

#include "Ecore_Desktop.h"
#include "ecore_desktop_private.h"

#include <dirent.h>
#include <sys/stat.h>
#include <libgen.h>
#include <strings.h>

/* FIXME: Add functions to add paths before the user paths, after the user but before the system paths, and at the end. */

/* This really slows things down and no doubt drags in some KDE bloat at start up.
 * To work around this, I add a few extra things to try in the _ecore_desktop_paths_get()
 * calls below.
 *
#define KDE_SUPPORT 1<commit_msg>FIXME-- This got done a while ago.<commit_after>/*
 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
 */
/*
 * This conforms with the freedesktop.org XDG Base Directory Specification version 0.6
 *
 * The policy here is to add extra directories to the possible search paths to 
 * cater for quirks of different OS's.  It doesn't take long to eliminate an
 * excess directory from the paths.
 */

#include <Ecore.h>

#include "Ecore_Desktop.h"
#include "ecore_desktop_private.h"

#include <dirent.h>
#include <sys/stat.h>
#include <libgen.h>
#include <strings.h>

/* This really slows things down and no doubt drags in some KDE bloat at start up.
 * To work around this, I add a few extra things to try in the _ecore_desktop_paths_get()
 * calls below.
 *
#define KDE_SUPPORT 1
{'fraction_non_alphanumeric': 0.09933774834437085, 'fraction_numerical': 0.013245033112582781, 'mean_word_length': 4.067073170731708, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '4142427', 'n_tokens_mistral': 573, 'n_tokens_neox': 543, 'n_words': 217}