FST  openfst-1.8.3
OpenFst Library
Namespaces | Functions
read_write_utils.h File Reference
#include <cstddef>
#include <istream>
#include <string>
#include <utility>
#include <vector>
#include <fst/log.h>
#include <fstream>
#include <fst/util.h>
#include <string_view>
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 std::string &source, std::vector< std::pair< Label, Label >> *pairs, std::vector< Label > *assignments)
 
template<typename Label >
bool fst::WriteLabelTriples (const std::string &source, const std::vector< std::pair< Label, Label >> &pairs, const std::vector< Label > &assignments)