<commit_before>
#ifndef LMSENSOR_H
#define LMSENSOR_H

#include <K3Process>
#include <K3ProcIO>

#include "sensor.h"

/**
 *
 * <NAME>
 **/
class SensorSensor : public Sensor
{
    Q_OBJECT
public:
    SensorSensor(int interval, char tempUnit);

    ~SensorSensor();

    void update();


private:
    K3ShellProcess ksp;
    QString extraParams;

    QMap<QString, QString> sensorMap;
#ifdef __FreeBSD__
    QMap<QString, QString> sensorMapBSD;
#endif
    QString sensorResult;

private slots:
    void receivedStdout(K3Process *, char *buffer, int);
    void processExited(K3Process *);

};

#endif // LMSENSOR_H<commit_msg>Fix knode superkaramba compilation on NetBSD. Patch by <NAME>. BUG: 154730<commit_after>
#ifndef LMSENSOR_H
#define LMSENSOR_H

#include <K3Process>
#include <K3ProcIO>

#include "sensor.h"

/**
 *
 * <NAME>
 **/
class SensorSensor : public Sensor
{
    Q_OBJECT
public:
    SensorSensor(int interval, char tempUnit);

    ~SensorSensor();

    void update();


private:
    K3ShellProcess ksp;
    QString extraParams;

    QMap<QString, QString> sensorMap;
#if defined(__FreeBSD__) || defined(Q_OS_NETBSD)
    QMap<QString, QString> sensorMapBSD;
#endif
    QString sensorResult;

private slots:
    void receivedStdout(K3Process *, char *buffer, int);
    void processExited(K3Process *);

};

#endif // LMSENSOR_H
{'fraction_non_alphanumeric': 0.11243484735666419, 'fraction_numerical': 0.011913626209977662, 'mean_word_length': 4.110266159695818, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '2062106', 'n_tokens_mistral': 491, 'n_tokens_neox': 480, 'n_words': 114}