You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
697 B

  1. We use Kaldi decoder to implement TLG based language model integration,
  2. so we copied related files to this directory.
  3. The main changes are:
  4. 1. To minimize the change, we use the same directories tree as Kaldi.
  5. 2. We replace Kaldi log system with glog in the following way.
  6. ``` c++
  7. #define KALDI_WARN \
  8. google::LogMessage(__FILE__, __LINE__, google::GLOG_WARNING).stream()
  9. #define KALDI_ERR \
  10. google::LogMessage(__FILE__, __LINE__, google::GLOG_ERROR).stream()
  11. #define KALDI_INFO \
  12. google::LogMessage(__FILE__, __LINE__, google::GLOG_INFO).stream()
  13. #define KALDI_VLOG(v) VLOG(v)
  14. #define KALDI_ASSERT(condition) CHECK(condition)
  15. ```
  16. 3. We lint all the files to satisfy the lint in WeNet.