00001 00002 /// Licensed under the Apache License, Version 2.0 (the "License"); 00003 /// you may not use this file except in compliance with the License. 00004 /// You may obtain a copy of the License at 00005 /// 00006 /// http://www.apache.org/licenses/LICENSE-2.0 00007 /// 00008 /// Unless required by applicable law or agreed to in writing, software 00009 /// distributed under the License is distributed on an "AS IS" BASIS, 00010 /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00011 /// See the License for the specific language governing permissions and 00012 /// limitations under the License. 00013 /// 00014 /// Copyright 2005-2010 Google, Inc. 00015 /// Author: allauzen@google.com (Cyril Allauzen) 00016 00017 #include <fst/fst.h> 00018 #include <fst/compact-fst.h> 00019 00020 using fst::FstRegisterer; 00021 using fst::CompactFst; 00022 using fst::LogArc; 00023 using fst::StdArc; 00024 using fst::WeightedStringCompactor; 00025 00026 static FstRegisterer< 00027 CompactFst<StdArc, WeightedStringCompactor<StdArc>, uint16> > 00028 CompactFst_StdArc_WeightedStringCompactor_uint16_registerer; 00029 static FstRegisterer< 00030 CompactFst<LogArc, WeightedStringCompactor<LogArc>, uint16> > 00031 CompactFst_LogArc_WeightedStringCompactor_uint16_registerer; 00032
1.7.1