FST  openfst-1.8.2.post1
OpenFst Library
Namespaces | Functions
read_write_utils.h File Reference
#include <string>
#include <utility>
#include <vector>
#include <fstream>
#include <fst/test-properties.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, bool allow_negative=false)
 
template<typename Label >
bool fst::WriteLabelTriples (const std::string &source, const std::vector< std::pair< Label, Label >> &pairs, const std::vector< Label > &assignments)