|
1 year ago | |
---|---|---|
.. | ||
base | 1 year ago | |
decoder | 1 year ago | |
fstbin | 1 year ago | |
fstext | 1 year ago | |
itf | 1 year ago | |
lat | 1 year ago | |
lm | 1 year ago | |
lmbin | 1 year ago | |
util | 1 year ago | |
CMakeLists.txt | 1 year ago | |
README.md | 1 year ago |
We use Kaldi decoder to implement TLG based language model integration, so we copied related files to this directory. The main changes are:
To minimize the change, we use the same directories tree as Kaldi.
We replace Kaldi log system with glog in the following way.
#define KALDI_WARN \
google::LogMessage(__FILE__, __LINE__, google::GLOG_WARNING).stream()
#define KALDI_ERR \
google::LogMessage(__FILE__, __LINE__, google::GLOG_ERROR).stream()
#define KALDI_INFO \
google::LogMessage(__FILE__, __LINE__, google::GLOG_INFO).stream()
#define KALDI_VLOG(v) VLOG(v)
#define KALDI_ASSERT(condition) CHECK(condition)