Debian Codegraph @

src/lemmatiseur.h

raw symbols SCIP
1 /* lemmatiseur.h
2 *
3 * This file is part of COLLATINUS.
4 *
5 * COLLATINUS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * COLLATINVS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with COLLATINUS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * © Yves Ouvrard, 2009 - 2016
20 */
21
22 #ifndef LEMMATISEUR_Hcxx . . $ `src/lemmatiseur.h:23:9`!
23 #define LEMMATISEUR_Hcxx . . $ `src/lemmatiseur.h:23:9`!
24
25 #include <QMap>
26 #include <QString>
27 #include <QStringList>
28 #include <QtCore/QCoreApplication>
29
30 #include "irregs.h"cxx . . $ `<file>/src/irregs.h`/
31 #include "lemme.h"cxx . . $ `<file>/src/lemme.h`/
32 #include "modele.h"cxx . . $ `<file>/src/modele.h`/
33
34 class Irregcxx . . $ Irreg#;
35 class Lemmecxx . . $ Lemme#;
36 class Radicalcxx . . $ Radical#;
37
38 typedef structcxx . . $ $anonymous_type_8217b278145723a1_0#
39 {
40 QStringcxx . . $ QString# grqcxx . . $ $anonymous_type_8217b278145723a1_0#grq.;
41 Lemmecxx . . $ Lemme#* lemmecxx . . $ $anonymous_type_8217b278145723a1_0#lemme.;
42 QStringcxx . . $ QString# morphocxx . . $ $anonymous_type_8217b278145723a1_0#morpho.;
43 QStringcxx . . $ QString# sufqcxx . . $ $anonymous_type_8217b278145723a1_0#sufq.;
44 char poscxx . . $ $anonymous_type_8217b278145723a1_0#pos.;
45 } SLemcxx . . $ SLem#;
46
47 typedef QMapcxx . . $ QMap#<Lemmecxx . . $ Lemme#*, QListcxx . . $ QList#<SLemcxx . . $ SLem#> > MapLemcxx . . $ MapLem#;
48
49 typedef QPaircxx . . $ QPair#<QRegExpcxx . . $ QRegExp#, QStringcxx . . $ QString#> Reglepcxx . . $ Reglep#;
50
51 class Lemmatcxx . . $ Lemmat# : public QObjectcxx . . $ QObject#
52 {
53 Q_OBJECTcxx . . $ Lemmat#tr(75d9f1c324b4579d).
54
55 private:
56 // fonction d'initialisation
57 void ajAssimscxx . . $ Lemmat#ajAssims(49f6e7a06ebc5aa8).();
58 void ajContractionscxx . . $ Lemmat#ajContractions(49f6e7a06ebc5aa8).();
59 void ajPoscxx . . $ Lemmat#ajPos(49f6e7a06ebc5aa8).();
60 int aRomanocxx . . $ Lemmat#aRomano(87a9b7c6fe1ccdba). (QStringcxx . . $ QString# r);
61 bool estRomaincxx . . $ Lemmat#estRomain(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# r);
62 void lisIrregulierscxx . . $ Lemmat#lisIrreguliers(49f6e7a06ebc5aa8).();
63 void lisLexicoSyntaxecxx . . $ Lemmat#lisLexicoSyntaxe(49f6e7a06ebc5aa8).();
64 void lisLexiquecxx . . $ Lemmat#lisLexique(49f6e7a06ebc5aa8).();
65 void lisModelescxx . . $ Lemmat#lisModeles(49f6e7a06ebc5aa8).();
66 void lisTraductionscxx . . $ Lemmat#lisTraductions(b0b38cda41d4ede4).(bool base, bool extension);
67 void posCfcxx . . $ Lemmat#posCf(49f6e7a06ebc5aa8).();
68 // variables et utils
69 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> assimscxx . . $ Lemmat#assims.;
70 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> assimsqcxx . . $ Lemmat#assimsq.;
71 QStringListcxx . . $ QStringList# cherchePiedscxx . . $ Lemmat#cherchePieds(293d5ebd966cd20a).(int nbr, QStringcxx . . $ QString# ligne, int i, bool pentam);
72 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> _contractionscxx . . $ Lemmat#_contractions.;
73 QMultiMapcxx . . $ QMultiMap#<QStringcxx . . $ QString#, Desinencecxx . . $ Desinence# *> _desinencescxx . . $ Lemmat#_desinences.;
74 QStringListcxx . . $ QStringList# formeqcxx . . $ Lemmat#formeq(9cf5e9bd0356cd79).(QStringcxx . . $ QString# forme, bool *nonTrouve, bool debPhr, int accent = 0);
75 QMultiMapcxx . . $ QMultiMap#<QStringcxx . . $ QString#, Irregcxx . . $ Irreg# *> _irregscxx . . $ Lemmat#_irregs.;
76 QStringcxx . . $ QString# _ciblecxx . . $ Lemmat#_cible.;
77 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> _ciblescxx . . $ Lemmat#_cibles.;
78 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, Lemmecxx . . $ Lemme# *> _lemmescxx . . $ Lemmat#_lemmes.;
79 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QCharcxx . . $ QChar#> mapPoscxx . . $ Lemmat#mapPos.;
80 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, Modelecxx . . $ Modele# *> _modelescxx . . $ Lemmat#_modeles.;
81 QStringListcxx . . $ QStringList# _morphoscxx . . $ Lemmat#_morphos.;
82 QMultiMapcxx . . $ QMultiMap#<QStringcxx . . $ QString#, Radicalcxx . . $ Radical# *> _radicauxcxx . . $ Lemmat#_radicaux.;
83 QListcxx . . $ QList#<Reglepcxx . . $ Reglep#> _reglespcxx . . $ Lemmat#_reglesp.;
84 QStringcxx . . $ QString# _resDircxx . . $ Lemmat#_resDir.;
85 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> _variablescxx . . $ Lemmat#_variables.;
86 // options
87 bool _alphacxx . . $ Lemmat#_alpha.;
88 bool _extensioncxx . . $ Lemmat#_extension.; // = false;
89 bool _extLoadedcxx . . $ Lemmat#_extLoaded.;
90 bool _formeTcxx . . $ Lemmat#_formeT.;
91 bool _htmlcxx . . $ Lemmat#_html.;
92 bool _majPertcxx . . $ Lemmat#_majPert.;
93 bool _morphocxx . . $ Lemmat#_morpho.;
94 bool _nonReccxx . . $ Lemmat#_nonRec.;
95
96 public:
97 Lemmatcxx . . $ Lemmat#Lemmat(54cacb9d94b458b).(QObjectcxx . . $ QObject# *parent = 0, QStringcxx . . $ QString# resDir=""cxx . . $ QString#QString(85c52e162fed56f9).);
98 void ajDesinencecxx . . $ Lemmat#ajDesinence(d733b4e682391b4).(Desinencecxx . . $ Desinence# *d);
99 void ajModelecxx . . $ Lemmat#ajModele(e41e1d89b8194943).(Modelecxx . . $ Modele# *m);
100 void ajRadicauxcxx . . $ Lemmat#ajRadicaux(f0cbd0f60d582656).(Lemmecxx . . $ Lemme# *l);
101 QStringcxx . . $ QString# assimcxx . . $ Lemmat#assim(f7f320d754b8fd09).(QStringcxx . . $ QString# a);
102 QStringcxx . . $ QString# assimqcxx . . $ Lemmat#assimq(f7f320d754b8fd09).(QStringcxx . . $ QString# a);
103 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> ciblescxx . . $ Lemmat#cibles(8003ea5beb782f5e).();
104 QStringcxx . . $ QString# desassimcxx . . $ Lemmat#desassim(f7f320d754b8fd09).(QStringcxx . . $ QString# a);
105 QStringcxx . . $ QString# desassimqcxx . . $ Lemmat#desassimq(f7f320d754b8fd09).(QStringcxx . . $ QString# a);
106 static QStringcxx . . $ QString# deramisecxx . . $ Lemmat#deramise(f7f320d754b8fd09).(QStringcxx . . $ QString# r);
107 QStringListcxx . . $ QStringList# frequencescxx . . $ Lemmat#frequences(327870d3b2cb3fa6).(QStringcxx . . $ QString# txt);
108 MapLemcxx . . $ MapLem# lemmatisecxx . . $ Lemmat#lemmatise(a620231c7e1d945d).(QStringcxx . . $ QString# f); // lemmatise une forme
109 QStringListcxx . . $ QStringList# lemmatiseFcxx . . $ Lemmat#lemmatiseF(c7e48c0cc81dbf90).(QStringcxx . . $ QString# f, bool deb);
110 MapLemcxx . . $ MapLem# lemmatiseMcxx . . $ Lemmat#lemmatiseM(8e33ef44f3e788bb).(QStringcxx . . $ QString# f, bool debPhr = true);
111 Lemmecxx . . $ Lemme# *lemmecxx . . $ Lemmat#lemme(232dd0184078fd95).(QStringcxx . . $ QString# l);
112 QStringListcxx . . $ QStringList# lignesFichiercxx . . $ Lemmat#lignesFichier(327870d3b2cb3fa6).(QStringcxx . . $ QString# nf);
113 void lisFichierLexiquecxx . . $ Lemmat#lisFichierLexique(7df51288a9ebd664).(QStringcxx . . $ QString# filepath);
114 Modelecxx . . $ Modele# *modelecxx . . $ Lemmat#modele(8a17f6f53c814648).(QStringcxx . . $ QString# m);
115 QStringcxx . . $ QString# morphocxx . . $ Lemmat#morpho(ce915ed341d4a7f0).(int i);
116 QCharcxx . . $ QChar# posCharcxx . . $ Lemmat#posChar(cb53884750fb7e5d).(QStringcxx . . $ QString# p);
117 QStringcxx . . $ QString# posStringcxx . . $ Lemmat#posString(6ea5eb906e411b01).(QCharcxx . . $ QChar# p);
118 QStringcxx . . $ QString# scandeTxtcxx . . $ Lemmat#scandeTxt(9ceae0ab53043cd3).(QStringcxx . . $ QString# texte, int accent = 0, bool stats = false);
119 QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QStringcxx . . $ QString#> suffixescxx . . $ Lemmat#suffixes.;
120 QStringcxx . . $ QString# variablecxx . . $ Lemmat#variable(f7f320d754b8fd09).(QStringcxx . . $ QString# v);
121 };
122
123 #endif