本文翻译和总结与 kaldi.org。本文主要介绍 kaldi 代码的组织结构以及依赖结构,以及一些修改和调试代码的经验。如果想更深入了解,可以点击这里。
常用的使用工具
进入 src/base/,查看 kaldi-common.h,其内容主要为下:
```c++
ifndef KALDI_BASE_KALDI_COMMON_H_
define KALDI_BASE_KALDI_COMMON_H_ 1
include
include
include // C string stuff like strcpy
include
include
include
include
include
继续阅读 »
Type determination
java interface query:
interfaceDemo instanceof InterfaceDemo
subClassInstance instanceof ParentClass
python
isinstance
golang interface query:
value, ok := element.(T) element is interface var, T is base type
switch value := element.(type)继续阅读 »
jQuery UI's widget factory makes it easy to build widgets that extend the functionality of existing widgets. Doing so allows you to build powerful widgets on top of an existing base, as well as make small tweaks to an existing widget's functionality.继续阅读 »