Cambridge SMT System
alilats2splats.main.cpp
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 
15 #define HIFST
16 
24 #include <main.alilats2splats.hpp>
26 #include <main.custom_assert.hpp>
27 #include <main.logger.hpp>
29 #include <common-helpers.hpp>
30 #include <main.hpp>
31 
35 template < template <class> class DataT
36  , class ArcT
37  >
43  (RunTask2<SingleThreadedAliLatsToSparseVecLatsTask
44  , MultiThreadedAliLatsToSparseVecLatsTask
45  , DataT
46  , ArcT >
47  (rg) );
48  }
49 };
50 
52  using namespace HifstConstants;
53  using namespace ucam::hifst;
54  using namespace ucam::fsttools;
55 
57 }
Full single-threaded Alignment lattices to Sparse lattices.
Generic Runner2 class wrapper with the usual template structure required by the tasks in fsttools and...
void run()
Include all necessary headers here.
Include all necessary headers here.
Static variables for logger. Include only once from main file.
RunAlilatsToSplats(ucam::util::RegistryPO const &rg)
Implements single-threaded version of alilats2splats tool.
Included headers for all the binary should be defined here. This file should be included only once...
Multithreaded implementation of alilats2splats pipeline.
Static variable for custom_assert. Include only once from main file.