20 #ifndef KALDI_TREE_TREE_RENDERER_H_ 21 #define KALDI_TREE_TREE_RENDERER_H_ 26 #include "fst/fstlib.h" 39 fst::SymbolTable &phone_syms,
bool use_tooltips)
83 #endif // KALDI_TREE_TREE_RENDERER_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
fst::SymbolTable & phone_syms_
TreeRenderer(std::istream &is, bool binary, std::ostream &os, fst::SymbolTable &phone_syms, bool use_tooltips)
void RenderSplit(const EventType *query, int32 id)
std::vector< std::pair< EventKeyType, EventValueType > > EventType
int32 EventKeyType
Things of type EventKeyType can take any value.
void RenderConstant(const EventType *query, int32 id)
static const int32 kEdgeWidth
void RenderNonLeaf(int32 id, const EventKeyType &key, bool in_query)
void RenderSubTree(const EventType *query, int32 id)
std::string MakeEdgeLabel(const EventKeyType &key, const ConstIntegerSet< EventValueType > &intset)
static const std::string kEdgeColorQuery
static const int32 kEdgeWidthQuery
void RenderTable(const EventType *query, int32 id)
static const std::string kEdgeColor
void Render(const EventType *query)