<commit_before>/*
    chatmessagepart.cpp - Chat Message KPart

    Copyright (c) 2002-2005 by <NAME>       <ogoffart @ kde.org>
    Copyright (c) 2002-2003 by <NAME>      <<EMAIL>>
    Copyright (c) 2004      by <NAME>         <<EMAIL>>
    Copyright (c) 2005      by <NAME>      <<EMAIL>>

    Kopete    (c) 2002-2005 by the Kopete developers <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/

#include "chatmessagepart.h"

// KOPETE_XSLT enable old style engine
//#define KOPETE_XSLT
// STYLE_TIMETEST is for time staticstic gathering.
//#define STYLE_TIMETEST

#include <ctime>

// Qt includes
#include <qclipboard.h>
#include <qtooltip.h>
#include <qrect.h>
#include <qcursor.h>
#include <qbuffer.h>
#include <qptrlist.h>
#include <qregexp.h>

// KHTML::DOM includes
#include <dom/dom_doc.h><commit_msg>SVN_SILENT: Renable KOPETE_XSLT, not yet ready to be removed =)<commit_after>/*
    chatmessagepart.cpp - Chat Message KPart

    Copyright (c) 2002-2005 by <NAME>       <ogoffart @ kde.org>
    Copyright (c) 2002-2003 by <NAME>      <<EMAIL>>
    Copyright (c) 2004      by <NAME>         <<EMAIL>>
    Copyright (c) 2005      by <NAME>      <<EMAIL>>

    Kopete    (c) 2002-2005 by the Kopete developers <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * This program is free software; you can redistribute it and/or modify  *
    * it under the terms of the GNU General Public License as published by  *
    * the Free Software Foundation; either version 2 of the License, or     *
    * (at your option) any later version.                                   *
    *                                                                       *
    *************************************************************************
*/

#include "chatmessagepart.h"

// KOPETE_XSLT enable old style engine
#define KOPETE_XSLT
// STYLE_TIMETEST is for time staticstic gathering.
//#define STYLE_TIMETEST

#include <ctime>

// Qt includes
#include <qclipboard.h>
#include <qtooltip.h>
#include <qrect.h>
#include <qcursor.h>
#include <qbuffer.h>
#include <qptrlist.h>
#include <qregexp.h>

// KHTML::DOM includes
#include <dom/dom_doc.h>
{'fraction_non_alphanumeric': 0.19225352112676056, 'fraction_numerical': 0.02323943661971831, 'mean_word_length': 2.1151315789473686, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5034113', 'n_tokens_mistral': 848, 'n_tokens_neox': 758, 'n_words': 244}