refr has a really nice and simple to use gzip stream implementation. It is possible to zip several OpenFst FSTs togeather (or anything else) and read them using the following snippet.
#include <fst/fstlib.h>
#include <iostream>
#include "gzstream.h"
using namespace std;
using namespace fst;
int main() {
igzstream strm("fsts.gz");
StdFst* fst1 = StdFst::Read(strm, FstReadOptions());
cout << "# of states " << CountStates(*fst) << endl;
//
//..
//Read some more fsts from the same stream
//..
//
return 0;
};
Extract the gzstream.{C,h} files and to build on OSX 10.9 (remove the stdlib flag for other compilers/platforms)
g++ -O2 -o read gzstream.C test.cc -I/usr/local/include/ -stdlib=libstdc++ -lz -lfst
kate spade outlet
coach clearance
canada goose clearance
jordan 11
fitflops sale
polo shirts women
nike outlet
coach factory outlet online
clarks outlet
burberry outlet
dior outlet online
juicy couture outlet
canada goose cheap
christian louboutin shoes
michael kors handbags
coach purse
mont blanc
dior outlet store
celine outlet
michael kors watches discount outlet
vans store
michael kors handbags clearance 75% off
the north face clearance
michael kors bags
michael kors handbags clearance
clarks shoes
jordan 6 infrared
christian louboutin outlet
vans shoes
nike running shoes
gucci shoes
coach factory online
fitflop clearance
michael kors sale
burberry sale
nike heels
michael kors handbags
michael kors outlet 90% off
toms shoes
fitflop clearance
vans outlet
gucci shoes for men
prada sunglasses
coach bags sale
columbia sportswear outlet
20151008-YN
nike air jordan shoes
nike outlet store online
coach store
jordan shoes
fitflops clearance
polo shirts
chanel handbags
hermes bag
nike shoes wholesale
coach outlet
coach factory
nike air max
pink jordans
lebron james shoes 2015
nike store
canada goose sale online
ugg boots
canada goose outlet
canada goose coats on sale
cheap wholesale jordans
michael kors factory outlet
cheap michael kors purses
gucci bags
christian louboutin shoes
christian louboutin
michael kors outlet
mbt shoes
cheap nike air max
salvatore ferragamo
fendi shoes
mont blanc legend
toms outlet factory
jordan 11
louboutin shoes
cheap canada goose jackets
north face sale
nike basketball shoes
polo shirts for men
discount nike
hermes outlet online
cheap michael kors
north face outlet store
coach sale
michael kors handbags
michael kors outlet
1010HXT
jianbin0222
coach outlet
louis vuitton outlet store
pandora outlet
calvin klein underwear
michael kors handbags
cheap jordans
nike free 5
rolex uk
abercrombie and fitch
michael kors wholesale
abercrombie and fitch
vans shoes
cheap ray ban sunglasses
cheap jordan shoes
ray ban sunglasses
ed hardy clothing
ralph lauren outlet
nike air huarache
tiffany jewellery
instyler ionic styler
michael kors uk outlet
michael kors uk
cheap nfl jerseys
cheap mlb jerseys
michael kors online outlet
adidas wings
adidas outlet store
michael kors outlet
michael kors outlet online
longchamp handbags
jianbin0222
coach outlet
louis vuitton outlet store
pandora outlet
calvin klein underwear
michael kors handbags
cheap jordans
nike free 5
rolex uk
abercrombie and fitch
michael kors wholesale
abercrombie and fitch
vans shoes
cheap ray ban sunglasses
cheap jordan shoes
ray ban sunglasses
ed hardy clothing
ralph lauren outlet
nike air huarache
tiffany jewellery
instyler ionic styler
michael kors uk outlet
michael kors uk
cheap nfl jerseys
cheap mlb jerseys
michael kors online outlet
adidas wings
adidas outlet store
michael kors outlet
michael kors outlet online
longchamp handbags
polo ralph lauren
michael kors outlet
louis vuitton outlet store
cheap nfl jerseys
michael kors outlet
prada outlet online
michael kors outlet
soccer jerseys
cheap jordans
ralph lauren outlet
air max 90
michael kors uk outlet
cheap nfl jersey
michael kors outlet store
basketball shoes,basketball sneakers,lebron james shoes,sports shoes,kobe bryant shoes,kobe sneakers,nike basketball shoes,running shoes,mens sport shoes,nike shoes
louis vuitton outlet
mulberry handbags
prada handbags
pandora jewelry
michael kors handbags
asics
swarovski crystal
cheap mlb jerseys
louis vuitton handbags
ralph lauren polo
michael kors outlet
rolex watches for sale
ray-ban sunglasses
swarovski outlet
ralph lauren shirts
thomas sabo uk
snapbacks wholesale
louis vuitton neverfull
michael kors outlet online
michael kors outlet
20160415zhenhong
the north face jackets
abercrombie and fitch
ugg boots
ray ban sunglasses
hollister uk
prada shoes
michael kors handbags
hollister canada
louis vuitton pas cher
ray ban sunglasses
chanyuan10.15
packers jerseys Five
kobe 9 go
ray ban sunglasses and
salvatore ferragamo HOW
michael kors handbags wholesale I
red valentino download
fitflops sale clearance was
chargers jerseys of
oakland raiders jerseys not
san francisco 49ers jerseys and
coach outlet online
north face uk
oakley sunglasses outlet
coach outlet online
louis vuitton outlet store
fit flops
adidas nmd r1
christian louboutin shoes
true religion sale
uggs
zhi20170103
pandora charms
adidas trainers uk
canada goose
fitflops
canada goose outlet
gucci handbags
canada goose outlet
cheap nfl jerseys
canada goose jackets
the north face jackets
20171.03wengdongdong