Kaldi
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
b
c
d
g
i
j
k
l
m
n
p
r
w
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
b
c
d
f
k
t
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
v
w
Enumerations
+
Enumerator
b
g
k
o
+
Related Functions
a
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
a
c
d
g
i
m
o
r
s
t
u
Variables
Typedefs
+
Macros
b
c
d
e
f
k
m
n
p
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
options-itf.h
Go to the documentation of this file.
1
// itf/options-itf.h
2
3
// Copyright 2013 Tanel Alumae, Tallinn University of Technology
4
5
// See ../../COPYING for clarification regarding multiple authors
6
//
7
// Licensed under the Apache License, Version 2.0 (the "License");
8
// you may not use this file except in compliance with the License.
9
// You may obtain a copy of the License at
10
//
11
// http://www.apache.org/licenses/LICENSE-2.0
12
//
13
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
15
// WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
16
// MERCHANTABLITY OR NON-INFRINGEMENT.
17
// See the Apache 2 License for the specific language governing permissions and
18
// limitations under the License.
19
20
#ifndef KALDI_ITF_OPTIONS_ITF_H_
21
#define KALDI_ITF_OPTIONS_ITF_H_ 1
22
#include "
base/kaldi-common.h
"
23
24
namespace
kaldi
{
25
26
class
OptionsItf
{
27
public
:
28
29
virtual
void
Register
(
const
std::string &name,
30
bool
*ptr,
const
std::string &doc) = 0;
31
virtual
void
Register
(
const
std::string &name,
32
int32
*ptr,
const
std::string &doc) = 0;
33
virtual
void
Register
(
const
std::string &name,
34
uint32 *ptr,
const
std::string &doc) = 0;
35
virtual
void
Register
(
const
std::string &name,
36
float
*ptr,
const
std::string &doc) = 0;
37
virtual
void
Register
(
const
std::string &name,
38
double
*ptr,
const
std::string &doc) = 0;
39
virtual
void
Register
(
const
std::string &name,
40
std::string *ptr,
const
std::string &doc) = 0;
41
42
virtual
~OptionsItf
() {}
43
};
44
45
}
// namespace Kaldi
46
47
#endif // KALDI_ITF_OPTIONS_ITF_H_
48
49
kaldi
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition:
chain.dox:20
kaldi::int32
kaldi::int32 int32
Definition:
online-tcp-source.cc:27
kaldi::OptionsItf::~OptionsItf
virtual ~OptionsItf()
Definition:
options-itf.h:42
kaldi::OptionsItf::Register
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
kaldi::OptionsItf
Definition:
options-itf.h:26
kaldi-common.h
itf
options-itf.h
Generated by
1.8.13