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/const-fst.h> 00019 00020 using fst::FstRegisterer; 00021 using fst::ConstFst; 00022 using fst::LogArc; 00023 using fst::StdArc; 00024 00025 /// Register ConstFst for common arcs types with uint8 size type 00026 static FstRegisterer< ConstFst<StdArc, uint8> > 00027 ConstFst_StdArc_uint8_registerer; 00028 static FstRegisterer< ConstFst<LogArc, uint8> > 00029 ConstFst_LogArc_uint8_registerer; 00030
1.7.1