Cambridge SMT System
main.disambignffst.hpp
Go to the documentation of this file.
1 // Licensed under the Apache License, Version 2.0 (the "License");
2 // you may not use these files except in compliance with the License.
3 // You may obtain a copy of the License at
4 //
5 // http://www.apache.org/licenses/LICENSE-2.0
6 //
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // See the License for the specific language governing permissions and
11 // limitations under the License.
12 
13 // Copyright 2012 - Gonzalo Iglesias, AdriĆ  de Gispert, William Byrne
14 
21 #pragma once
22 
23 namespace ucam {
24 namespace util {
25 extern bool user_check_ok;
26 extern const bool detailed;
27 }
28 }
29 
31 #include "global_incls.hpp"
32 #include "custom_assert.hpp"
33 #include "global_decls.hpp"
34 #include "global_funcs.hpp"
35 
37 #include <fst/fstlib.h>
38 
39 #include <fst/script/print.h>
40 
41 #include "logger.hpp"
42 
43 #include "szfstream.hpp"
44 
45 #include "registrypo.hpp"
46 #include "taskinterface.hpp"
47 #include "range.hpp"
48 #include "addresshandler.hpp"
49 #include <multithreading.hpp>
51 
52 #include <constants-fsttools.hpp>
54 
60 
61 #include "fstio.hpp"
62 #include "fstutils.hpp"
63 #include "fstutils.mapper.hpp"
65 
66 #include "data.stats.hpp"
Handles simple wildcard expansion for strings.
Convenience functors/functions for lexicographic<tropical,tropical> semiring.
Contains convenience functions to write and read fsts.
Stream wrapper for pipe/text/compressed files.
Relative to Stats across the pipeline.
Support for Topological Features. See Iglesias et al. 2015.
Implementation of tropical sparse tuple weight semiring.
Provides smarter assert methods.
Interfaces with basic methods for iteration.
const bool detailed
Utilites to extract vocabulary, pseudo-determinize lattices and build substring transducers.
Headers for standalone shared library.
Basic declarations used for tropical sparse vector weight semiring.
Implements trivial threadpool using boost::asio library.
General functions.
Generalized weight mapper functor.
To initialize boost parameter options.
Handles different type of integer ranges.
Files to include for the tropical sparse tuple semiring.
General typedefs, defines...
Contains wrapper class RegistryPO, which uses boost::program_options to parse parameters, and provides methods to access them.
Definition: bleu.hpp:14
All included standard headers, boost headers,...