/usr/include/hfst/hfst_apply_schemas.h is in libhfst42-dev 3.9.0~r4595-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
/** @file hfst_apply_schemas.h
\brief declarations for HFST functions that take two or more parameters */
HfstTransducer &apply(
#if HAVE_SFST
SFST::Transducer * (*sfst_funct)(SFST::Transducer *),
#endif
#if HAVE_OPENFST
fst::StdVectorFst * (*tropical_ofst_funct)(fst::StdVectorFst *),
#if HAVE_OPENFST_LOG
hfst::implementations::LogFst * (*log_ofst_funct)
(hfst::implementations::LogFst *),
#endif
#endif
#if HAVE_FOMA
fsm * (*foma_funct)(fsm *),
#endif
#if HAVE_XFSM
NETptr (*xfsm_funct)(NETptr),
#endif
/* Add your library here */
//#if HAVE_MY_TRANSDUCER_LIBRARY
//my_namespace::MyFst * (*my_transducer_library_funct)(my_namespace::MyFst *),
//#endif
bool dummy /* makes sure there is always a parameter after the
function pointer parameters, so commas between parameters
are easier to handle */
);
HfstTransducer &apply(
#if HAVE_SFST
SFST::Transducer * (*sfst_funct)(SFST::Transducer *, unsigned int),
#endif
#if HAVE_OPENFST
fst::StdVectorFst * (*tropical_ofst_funct)(fst::StdVectorFst *, unsigned int),
#if HAVE_OPENFST_LOG
hfst::implementations::LogFst * (*log_ofst_funct)
(hfst::implementations::LogFst *, unsigned int),
#endif
#endif
#if HAVE_FOMA
fsm * (*foma_funct)(fsm *, unsigned int),
#endif
#if HAVE_XFSM
NETptr (*xfsm_funct)(NETptr, unsigned int),
#endif
/* Add your library here */
//#if HAVE_MY_TRANSDUCER_LIBRARY
//my_namespace::MyFst * (*my_transducer_library_funct)
//(my_namespace::MyFst *, unsigned int),
//#endif
unsigned int n);
HfstTransducer &apply(
#if HAVE_SFST
SFST::Transducer * (*sfst_funct)(SFST::Transducer *, String, String),
#endif
#if HAVE_OPENFST
fst::StdVectorFst * (*tropical_ofst_funct)(fst::StdVectorFst *,String,
String),
#if HAVE_OPENFST_LOG
hfst::implementations::LogFst * (*log_ofst_funct)
(hfst::implementations::LogFst *,
String,String),
#endif
#endif
#if HAVE_FOMA
fsm * (*foma_funct)(fsm *, String, String),
#endif
#if HAVE_XFSM
NETptr (*xfsm_funct)(NETptr, String, String),
#endif
/* Add your library here */
//#if HAVE_MY_TRANSDUCER_LIBRARY
//my_namespace::MyFst * (*my_transducer_library_funct)
// (my_namespace::MyFst *, String, String),
//#endif
String k1, String k2);
HfstTransducer &apply(
#if HAVE_SFST
SFST::Transducer * (*sfst_funct)(SFST::Transducer *,
SFST::Transducer *),
#endif
#if HAVE_OPENFST
fst::StdVectorFst * (*tropical_ofst_funct)(fst::StdVectorFst *,
fst::StdVectorFst *),
#if HAVE_OPENFST_LOG
hfst::implementations::LogFst * (*log_ofst_funct)
(hfst::implementations::LogFst *,
hfst::implementations::LogFst *),
#endif
#endif
#if HAVE_FOMA
fsm * (*foma_funct)(fsm *,
fsm *),
#endif
#if HAVE_XFSM
NETptr (*xfsm_funct)(NETptr, NETptr),
#endif
/* Add your library here */
//#if HAVE_MY_TRANSDUCER_LIBRARY
//my_namespace::MyFst * (*my_transducer_library_funct)
// (my_namespace::MyFst *, my_namespace::MyFst *),
//#endif
HfstTransducer &another, bool harmonize );
|