FST  openfst-1.8.2
OpenFst Library
fst-types.cc
Go to the documentation of this file.
1 // Copyright 2005-2020 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the 'License');
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an 'AS IS' BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15 // See www.openfst.org for extensive documentation on this weighted
16 // finite-state transducer library.
17 //
18 // Registration of common FST and arc types.
19 
20 #include <fst/arc.h>
21 #include <fst/compact-fst.h>
22 #include <fst/const-fst.h>
23 #include <fst/edit-fst.h>
24 #include <fst/register.h>
25 #include <fst/vector-fst.h>
26 
27 namespace fst {
28 
29 REGISTER_FST(VectorFst, StdArc);
30 REGISTER_FST(VectorFst, LogArc);
31 REGISTER_FST(VectorFst, Log64Arc);
32 
33 REGISTER_FST(ConstFst, StdArc);
34 REGISTER_FST(ConstFst, LogArc);
35 REGISTER_FST(ConstFst, Log64Arc);
36 
37 REGISTER_FST(EditFst, StdArc);
38 REGISTER_FST(EditFst, LogArc);
39 REGISTER_FST(EditFst, Log64Arc);
40 
44 
48 
52 
56 
60 
61 } // namespace fst
CompactArcFst< Arc, UnweightedCompactor< Arc >, Unsigned > CompactUnweightedFst
Definition: compact-fst.h:1598
CompactArcFst< Arc, UnweightedAcceptorCompactor< Arc >, Unsigned > CompactUnweightedAcceptorFst
Definition: compact-fst.h:1602
CompactArcFst< Arc, StringCompactor< Arc >, Unsigned > CompactStringFst
Definition: compact-fst.h:1587
ArcTpl< TropicalWeight > StdArc
Definition: arc.h:75
CompactArcFst< Arc, AcceptorCompactor< Arc >, Unsigned > CompactAcceptorFst
Definition: compact-fst.h:1594
ArcTpl< Log64Weight > Log64Arc
Definition: arc.h:77
CompactArcFst< Arc, WeightedStringCompactor< Arc >, Unsigned > CompactWeightedStringFst
Definition: compact-fst.h:1591
REGISTER_FST(PhiFst, StdArc)
ArcTpl< LogWeight > LogArc
Definition: arc.h:76