FST  openfst-1.7.1
OpenFst Library
Namespaces | Functions
read_write_utils.h File Reference
#include <string>
#include <utility>
#include <vector>
#include <fstream>
#include <fst/test-properties.h>
Include dependency graph for read_write_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fst
 

Functions

template<typename Label >
bool fst::ReadLabelTriples (const string &filename, std::vector< std::pair< Label, Label >> *pairs, std::vector< Label > *assignments, bool allow_negative=false)
 
template<typename Label >
bool fst::WriteLabelTriples (const string &filename, const std::vector< std::pair< Label, Label >> &pairs, const std::vector< Label > &assignments)