<commit_before>/* 
 * File:   analysistool.h
 * Author: ruehle
 *
 * Created on August 2, 2007, 3:12 PM
 */

#ifndef _analasystool_H
#define	_analasystool_H

#include <map>
#include <string>
#include "cgengine.h"
#include "bondedstatistics.h"

using namespace std;

/**
    \brief base class for all analasys tools

    This is the base class for all analasys tool. To implement a new analasys tool, derive it from this class
    and call RegisterObject(AnalasysFactory, UserTool, key) where UserTool is the name of the class....

    \todo do option functions!!!
*/
class AnalysisTool
{
public:
    AnalysisTool() {}
    virtual ~AnalysisTool() {}
    
    virtual void Register(map<string, AnalysisTool *> &lib) {}
    virtual void Command(BondedStatistics &bs, string cmd, vector<string> &args) {};
    virtual void Help(string cmd, vector<string> &args) {};
    
private:
//    map<string, string> _options;
};

#endif	/* _analasystool_H */

<commit_msg>changed misleading comment in code<commit_after>/* 
 * File:   analysistool.h
 * Author: ruehle
 *
 * Created on August 2, 2007, 3:12 PM
 */

#ifndef _analasystool_H
#define	_analasystool_H

#include <map>
#include <string>
#include "cgengine.h"
#include "bondedstatistics.h"

using namespace std;

/**
    \brief base class for all analasys tools

    This is the base class for all analasys tool. 
    \todo do option functions!!!
*/
class AnalysisTool
{
public:
    AnalysisTool() {}
    virtual ~AnalysisTool() {}
    
    virtual void Register(map<string, AnalysisTool *> &lib) {}
    virtual void Command(BondedStatistics &bs, string cmd, vector<string> &args) {};
    virtual void Help(string cmd, vector<string> &args) {};
    
private:
//    map<string, string> _options;
};

#endif	/* _analasystool_H */


{'fraction_non_alphanumeric': 0.116751269035533, 'fraction_numerical': 0.009024252679075015, 'mean_word_length': 3.6807387862796834, 'pattern_counts': {'":': 0, '<': 15, '<?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': '7567381', 'n_tokens_mistral': 595, 'n_tokens_neox': 572, 'n_words': 184}