Collatinus  11.3
lasla.h
Aller à la documentation de ce fichier.
1 /* lasla.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 LASLA_H
23 #define LASLA_H
24 
25 #include "lemCore.h"
26 #include "lemme.h"
27 #include "ch.h"
28 
37 class Lasla : public QObject
38 {
39 // Q_OBJECT
40 
41 public:
42  Lasla(QObject *parent = 0, LemCore *l=0, QString resDir="");
43  // Créateur de la classe
44  QString k9(QString m);
45  // Code en 9 pour le LASLA
46 
47 private:
51  QString _resDir;
52  QMap<QString,QString> _catLasla;
54  void lisCat();
55  // Pour la lecture du fichier.
56 };
57 
58 #endif // LASLA_H
QString _resDir
Le nom du répertoire contenant les données.
Definition: lasla.h:51
QString k9(QString m)
Lemmatisation avec le code LASLA.
Definition: lasla.cpp:104
Lasla(QObject *parent=0, LemCore *l=0, QString resDir="")
Créateur de la classe Lasla.
Definition: lasla.cpp:51
La classe Lasla introduit des fonctions pour la première version du tagueur LASLA-Tagger.
Definition: lasla.h:37
LemCore * _lemCore
Un pointeur vers le noyau de lemmatisation qui peut être partagé.
Definition: lasla.h:49
QMap< QString, QString > _catLasla
QMap avec les correspondances entre les modèles de Collatinus et les catégories du LASLA...
Definition: lasla.h:52
La classe LemCore est le noyau de lemmatisation.
Definition: lemCore.h:118
void lisCat()
Lecture des correspondances Collatinus-LASLA.
Definition: lasla.cpp:78