FST  openfst-1.7.2
OpenFst Library
Classes | Namespaces | Functions | Variables
compress.h File Reference
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <memory>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#include <fst/compat.h>
#include <fst/log.h>
#include <fst/extensions/compress/elias.h>
#include <fst/extensions/compress/gzfile.h>
#include <fst/encode.h>
#include <fst/fst.h>
#include <fst/mutable-fst.h>
#include <fst/statesort.h>
Include dependency graph for compress.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::LempelZiv< Var, Edge, EdgeLessThan, EdgeEquals >
 
class  fst::Compressor< Arc >
 

Namespaces

 fst
 
 fst::internal
 

Functions

template<class Var , class Edge >
bool fst::internal::ExpandLZCode (const std::vector< std::pair< Var, Edge >> &code, std::vector< std::vector< Edge >> *expanded_code)
 
template<class Arc >
void fst::Compress (const Fst< Arc > &fst, std::ostream &strm)
 
template<class Arc >
bool fst::Compress (const Fst< Arc > &fst, const string &file_name, const bool gzip=false)
 
template<class Arc >
void fst::Decompress (std::istream &strm, const string &source, MutableFst< Arc > *fst)
 
template<class Arc >
bool fst::Decompress (const string &file_name, MutableFst< Arc > *fst, const bool gzip=false)
 

Variables

constexpr uint32 fst::kGzipMask = 0xffffffff >> 16