kaldi-table.h File Reference
#include <string>
#include <vector>
#include <utility>
#include "base/kaldi-common.h"
#include "util/kaldi-holder.h"
#include "util/kaldi-table-inl.h"
Include dependency graph for kaldi-table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RandomAccessTableReaderImplBase< Holder >
 
class  SequentialTableReaderImplBase< Holder >
 
class  TableWriterImplBase< Holder >
 
struct  WspecifierOptions
 
struct  RspecifierOptions
 
class  RandomAccessTableReader< Holder >
 Allows random access to a collection of objects in an archive or script file; see The Table concept. More...
 
class  SequentialTableReader< Holder >
 A templated class for reading objects sequentially from an archive or script file; see The Table concept. More...
 
class  TableWriter< Holder >
 A templated class for writing objects to an archive or script file; see The Table concept. More...
 
class  RandomAccessTableReaderMapped< Holder >
 This class is for when you are reading something in random access, but it may actually be stored per-speaker (or something similar) but the keys you're using are per utterance. More...
 

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 

Typedefs

typedef std::vector< std::string > KeyList
 

Enumerations

enum  WspecifierType { kNoWspecifier, kArchiveWspecifier, kScriptWspecifier, kBothWspecifier }
 
enum  RspecifierType { kNoRspecifier, kArchiveRspecifier, kScriptRspecifier }
 

Functions

WspecifierType ClassifyWspecifier (const std::string &wspecifier, std::string *archive_wxfilename, std::string *script_wxfilename, WspecifierOptions *opts)
 
bool ReadScriptFile (const std::string &rxfilename, bool warn, std::vector< std::pair< std::string, std::string > > *script_out)
 
bool ReadScriptFile (std::istream &is, bool warn, std::vector< std::pair< std::string, std::string > > *script_out)
 
bool WriteScriptFile (const std::string &wxfilename, const std::vector< std::pair< std::string, std::string > > &script)
 
bool WriteScriptFile (std::ostream &os, const std::vector< std::pair< std::string, std::string > > &script)
 
RspecifierType ClassifyRspecifier (const std::string &rspecifier, std::string *rxfilename, RspecifierOptions *opts)