<commit_before>/****************************************************************************\
**
**  tInputFile.h: Header file for tInput objects.
**
**  <NAME>, November 1997
**
**  $Id: tInputFile.h,v 1.2 1998-01-29 20:15:32 stlancas Exp $
\****************************************************************************/

#include <iostream.h>
#include <fstream.h>

#ifndef TINPUTFILE_H
#define TINPUTFILE_H
/*#define kMaxNameLength 80
#define kCommentMark '#'*/

class tInputFile
{
public:
    tInputFile();
    tInputFile( const char * );
    int ReadItem( const int &, const char * );
    long ReadItem( const long &, const char * );
    double ReadItem( const double &, const char * );
    void ReadItem( char *, const char * );
    // similar overrides for strings, chars, etc

private:
    ifstream infile;
};

#endif<commit_msg>moved tInputFile specific #defines back over from Definitions.h to make class portable<commit_after>/****************************************************************************\
**
**  tInputFile.h: Header file for tInput objects.
**
**  <NAME>, November 1997
**
**  $Id: tInputFile.h,v 1.3 1999-02-01 21:45:22 gtucker Exp $
\****************************************************************************/

#ifndef TINPUTFILE_H
#define TINPUTFILE_H

#include <iostream.h>
#include <fstream.h>

#define kMaxNameLength 80
#define kCommentMark '#'

class tInputFile
{
public:
    tInputFile();
    tInputFile( const char * );
    int ReadItem( const int &, const char * );
    long ReadItem( const long &, const char * );
    double ReadItem( const double &, const char * );
    void ReadItem( char *, const char * );
    // similar overrides for strings, chars, etc

private:
    ifstream infile;
};

#endif
{'fraction_non_alphanumeric': 0.2840713053479011, 'fraction_numerical': 0.025301897642323174, 'mean_word_length': 4.54140127388535, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3290992', 'n_tokens_mistral': 550, 'n_tokens_neox': 497, 'n_words': 150}