| 1 | /* lemme.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 LEMME_Hcxx . . $ `src/lemme.h:23:9`! |
| 23 | #define LEMME_Hcxx . . $ `src/lemme.h:23:9`! |
| 24 | |
| 25 | #include <QMultiMap> |
| 26 | #include <QObject> |
| 27 | #include <QString> |
| 28 | #include "irregs.h"cxx . . $ `<file>/src/irregs.h`/ |
| 29 | #include "lemmatiseur.h"cxx . . $ `<file>/src/lemmatiseur.h`/ |
| 30 | #include "modele.h"cxx . . $ `<file>/src/modele.h`/ |
| 31 | |
| 32 | class Irregcxx . . $ Irreg#; |
| 33 | class Lemmatcxx . . $ Lemmat#; |
| 34 | class Lemmecxx . . $ Lemme#; |
| 35 | class Modelecxx . . $ Modele#; |
| 36 | |
| 37 | class Radicalcxx . . $ Radical# : public QObjectcxx . . $ QObject# |
| 38 | { |
| 39 | private: |
| 40 | QStringcxx . . $ QString# _grcxx . . $ Radical#_gr.; |
| 41 | QStringcxx . . $ QString# _grqcxx . . $ Radical#_grq.; |
| 42 | Lemmecxx . . $ Lemme#* _lemmecxx . . $ Radical#_lemme.; |
| 43 | int _numerocxx . . $ Radical#_numero.; |
| 44 | |
| 45 | public: |
| 46 | Radicalcxx . . $ Radical#Radical(74fd4704878d03ee).(QStringcxx . . $ QString# g, int n, QObjectcxx . . $ QObject#* parent); |
| 47 | QStringcxx . . $ QString# grcxx . . $ Radical#gr(4365c3963150523e).(); |
| 48 | QStringcxx . . $ QString# grqcxx . . $ Radical#grq(4365c3963150523e).(); |
| 49 | Lemmecxx . . $ Lemme#* lemmecxx . . $ Radical#lemme(f4a9bc1d1653523f).(); |
| 50 | Modelecxx . . $ Modele#* modelecxx . . $ Radical#modele(4de283a37babcaa).(); |
| 51 | int numRadcxx . . $ Radical#numRad(b126dc7c1de90089).(); |
| 52 | }; |
| 53 | |
| 54 | class Lemmecxx . . $ Lemme# : public QObjectcxx . . $ QObject# |
| 55 | { |
| 56 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 57 | private: |
| 58 | QStringcxx . . $ QString# _clecxx . . $ Lemme#_cle.; |
| 59 | int _freqcxx . . $ Lemme#_freq.; |
| 60 | QStringcxx . . $ QString# _genrecxx . . $ Lemme#_genre.; |
| 61 | QStringcxx . . $ QString# _grcxx . . $ Lemme#_gr.; |
| 62 | QStringcxx . . $ QString# _grdcxx . . $ Lemme#_grd.; |
| 63 | QStringcxx . . $ QString# _grqcxx . . $ Lemme#_grq.; |
| 64 | QStringcxx . . $ QString# _grModelecxx . . $ Lemme#_grModele.; |
| 65 | QStringcxx . . $ QString# _hyphencxx . . $ Lemme#_hyphen.; // Pour les césures étymologies |
| 66 | QStringcxx . . $ QString# _indMorphcxx . . $ Lemme#_indMorph.; |
| 67 | QListcxx . . $ QList#<Irregcxx . . $ Irreg#*> _irregscxx . . $ Lemme#_irregs.; |
| 68 | QStringListcxx . . $ QStringList# _lexSyntcxx . . $ Lemme#_lexSynt.; |
| 69 | Modelecxx . . $ Modele#* _modelecxx . . $ Lemme#_modele.; |
| 70 | int _nhcxx . . $ Lemme#_nh.; |
| 71 | Lemmatcxx . . $ Lemmat#* _lemmatiseurcxx . . $ Lemme#_lemmatiseur.; |
| 72 | QListcxx . . $ QList#<int> _morphosIrrExclcxx . . $ Lemme#_morphosIrrExcl.; |
| 73 | QStringListcxx . . $ QStringList# _morphoSyntcxx . . $ Lemme#_morphoSynt.; |
| 74 | int _origincxx . . $ Lemme#_origin.; // lemmes ou lem_ext |
| 75 | QStringcxx . . $ QString# _poscxx . . $ Lemme#_pos.; |
| 76 | QMapcxx . . $ QMap#<int,QListcxx . . $ QList#<Radicalcxx . . $ Radical#*> > _radicauxcxx . . $ Lemme#_radicaux.; |
| 77 | QStringcxx . . $ QString# _renvoicxx . . $ Lemme#_renvoi.; |
| 78 | QMapcxx . . $ QMap#<QStringcxx . . $ QString#,QStringcxx . . $ QString#> _traductioncxx . . $ Lemme#_traduction.; |
| 79 | |
| 80 | public: |
| 81 | Lemmecxx . . $ Lemme#Lemme(74fd4704878d03ee).(QStringcxx . . $ QString# linea, int origin, QObjectcxx . . $ QObject#* parent); |
| 82 | void ajIrregcxx . . $ Lemme#ajIrreg(6ae356483522c774).(Irregcxx . . $ Irreg#* irr); |
| 83 | void ajRadicalcxx . . $ Lemme#ajRadical(3c7d300b94decee2).(int i, Radicalcxx . . $ Radical#* r); |
| 84 | void ajTradcxx . . $ Lemme#ajTrad(3458fe3960d5051).(QStringcxx . . $ QString# t, QStringcxx . . $ QString# l); |
| 85 | QStringcxx . . $ QString# clecxx . . $ Lemme#cle(4365c3963150523e).(); |
| 86 | QListcxx . . $ QList#<int> clesRcxx . . $ Lemme#clesR(9be6d6d0db5cf9a9).(); |
| 87 | bool estIrregExclcxx . . $ Lemme#estIrregExcl(83c267b20bac841a).(int nm); |
| 88 | int freqcxx . . $ Lemme#freq(455f465bc33b4cdf).() const; |
| 89 | QStringcxx . . $ QString# genrecxx . . $ Lemme#genre(4365c3963150523e).(); |
| 90 | QStringcxx . . $ QString# grcxx . . $ Lemme#gr(4365c3963150523e).(); |
| 91 | QStringcxx . . $ QString# grqcxx . . $ Lemme#grq(4365c3963150523e).(); |
| 92 | QStringcxx . . $ QString# grModelecxx . . $ Lemme#grModele(4365c3963150523e).(); |
| 93 | QStringcxx . . $ QString# humaincxx . . $ Lemme#humain(47f4a4e3497c4ea6).(bool html = false, QStringcxx . . $ QString# l = "fr"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 94 | Modelecxx . . $ Modele#* modelecxx . . $ Lemme#modele(4de283a37babcaa).(); |
| 95 | int origincxx . . $ Lemme#origin(b126dc7c1de90089).(); |
| 96 | QStringcxx . . $ QString# static oteNhcxx . . $ Lemme#oteNh(9e102dd5784e4e56).(QStringcxx . . $ QString# g, int& nh); |
| 97 | QStringcxx . . $ QString# poscxx . . $ Lemme#pos(4365c3963150523e).(); |
| 98 | QListcxx . . $ QList#<Radicalcxx . . $ Radical#*> radicalcxx . . $ Lemme#radical(37bb355a9e08422e).(int r); |
| 99 | QStringcxx . . $ QString# renvoicxx . . $ Lemme#renvoi(4365c3963150523e).(); |
| 100 | void setLexSyntcxx . . $ Lemme#setLexSynt(fc47db3ea09604d9).(QStringListcxx . . $ QStringList# m); |
| 101 | void setPoscxx . . $ Lemme#setPos(7df51288a9ebd664).(QStringcxx . . $ QString# p); |
| 102 | bool syntcxx . . $ Lemme#synt(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# s); |
| 103 | QStringcxx . . $ QString# traductioncxx . . $ Lemme#traduction(f7f320d754b8fd09).(QStringcxx . . $ QString# l="fr"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 104 | QStringcxx . . $ QString# traductioncxx . . $ Lemme#traduction(1ba22f3269531822).(QStringcxx . . $ QString# l, QStringcxx . . $ QString# pos); |
| 105 | QStringcxx . . $ QString# traductioncxx . . $ Lemme#traduction(7a8e84294dcb2210).(QStringcxx . . $ QString# l, QCharcxx . . $ QChar# pos); |
| 106 | }; |
| 107 | |
| 108 | inline bool operatorcxx . . $ `operator<`(5035711189f07f61).<(const Lemmecxx . . $ Lemme# &lg, const Lemmecxx . . $ Lemme# &ld); |
| 109 | |
| 110 | #endif |