CMiniLexicon::FindMajorSignatures(): use log file routines
[linguistica.git] / Stats.h
blobba89e8f2b6ed052c2d52ed580014737920662fc7
1 // Corpus word frequency histogram
2 // Copyright © 2009 The University of Chicago
3 #ifndef STATS_H
4 #define STATS_H
6 #include <Q3ValueList>
7 #include <QString>
8 #include <QMap>
10 class CStats
13 private:
14 class LinguisticaMainWindow* m_parent;
15 QMap<QString, Q3ValueList<int> > m_StringMap;
16 // QStringList m_Corpus;
17 int m_CorpusSize;
19 long int CorpusDistribution(QString &word) const;
23 public:
24 CStats();
25 CStats(LinguisticaMainWindow*);
27 virtual ~CStats();
30 void readCorpus();
31 void output() const;
36 #endif // STATS_H