virtual void GetPdfInfo(const std::vector< int32 > &phones, const std::vector< int32 > &num_pdf_classes, std::vector< std::vector< std::pair< int32, int32 > > > *pdf_info) const =0
GetPdfInfo returns a vector indexed by pdf-id, saying for each pdf which pairs of (phone...
virtual ~ContextDependencyInterface()
virtual bool Compute(const std::vector< int32 > &phoneseq, int32 pdf_class, int32 *pdf_id) const =0
The "new" Compute interface.
virtual ContextDependencyInterface * Copy() const =0
Returns pointer to new object which is copy of current one.
virtual int CentralPosition() const =0
Central position P of the phone context, in 0-based numbering, e.g.
KALDI_DISALLOW_COPY_AND_ASSIGN(ContextDependencyInterface)
virtual int32 NumPdfs() const =0
NumPdfs() returns the number of acoustic pdfs (they are numbered 0.. NumPdfs()-1).
context-dep-itf.h provides a link between the tree-building code in ../tree/, and the FST code in ...
virtual int ContextWidth() const =0
ContextWidth() returns the value N (e.g.
ContextDependencyInterface()