SpkDiarizationDialog.h
1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef SPKDIARIZATIONDIALOG_H
#define SPKDIARIZATIONDIALOG_H
#include <QDialog>
#include <QCheckBox>
#include <QRadioButton>
#include <QSpinBox>
#include "UtteranceTree.h"
class SpkDiarizationDialog: public QDialog
{
Q_OBJECT
public:
SpkDiarizationDialog(const QString &title, bool local = true, bool view = false, QWidget *parent = 0);
QString getSpeakersFName() const;
UtteranceTree::DistType getDist() const;
UtteranceTree::AgrCrit getAgrCrit() const;
UtteranceTree::PartMeth getPartMeth() const;
bool getBase() const;
bool getRefSpk() const;
bool getNorm() const;
bool getWeight() const;
bool getSigma() const;
bool getUbm() const;
public slots:
void setSpeakersFName();
void activL2();
void activMahal();
void activSigma();
void activW();
void activMin();
void activMax();
void activMean();
void activWard();
void activSilhouette();
void activBipartition();
void activBase();
void activHier();
void activRefSpk();
private:
QString m_speakersFName;
UtteranceTree::DistType m_dist;
UtteranceTree::AgrCrit m_agrCrit;
UtteranceTree::PartMeth m_partMeth;
bool m_base;
bool m_refSpk;
QCheckBox *m_ubm;
QCheckBox *m_norm;
QCheckBox *m_weight;
QRadioButton *m_l2;
QRadioButton *m_mahal;
bool m_sigma;
bool m_local;
};
#endif