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
kaldi-thread.cc
Go to the documentation of this file.
1
// util/kaldi-thread.cc
2
3
// Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
4
// Frantisek Skala
5
6
// See ../../COPYING for clarification regarding multiple authors
7
//
8
// Licensed under the Apache License, Version 2.0 (the "License");
9
// you may not use this file except in compliance with the License.
10
// You may obtain a copy of the License at
11
//
12
// http://www.apache.org/licenses/LICENSE-2.0
13
//
14
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16
// WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
17
// MERCHANTABLITY OR NON-INFRINGEMENT.
18
// See the Apache 2 License for the specific language governing permissions and
19
// limitations under the License.
20
21
#include "
base/kaldi-common.h
"
22
#include "
util/kaldi-thread.h
"
23
24
namespace
kaldi
{
25
int32
g_num_threads
= 8;
// Initialize this global variable.
26
27
MultiThreadable::~MultiThreadable
() {
28
// default implementation does nothing
29
}
30
31
32
33
}
// end namespace kaldi
kaldi
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition:
chain.dox:20
kaldi-thread.h
kaldi::g_num_threads
int32 g_num_threads
Definition:
kaldi-thread.cc:25
kaldi::int32
kaldi::int32 int32
Definition:
online-tcp-source.cc:27
kaldi::MultiThreadable::~MultiThreadable
virtual ~MultiThreadable()
Definition:
kaldi-thread.cc:27
kaldi-common.h
util
kaldi-thread.cc
Generated by
1.8.13