Collatinus  11.3
tagueur.h
Aller à la documentation de ce fichier.
1 /* tagueur.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 TAGUEUR_H
23 #define TAGUEUR_H
24 
25 #include "lemCore.h"
26 #include "mot.h"
27 #include "ch.h"
28 
59 class Tagueur : public QObject
60 {
61 public:
62  Tagueur(QObject *parent = 0, LemCore *l=0, QString cible = "", QString resDir="");
63  // Pour le tagger
64  QString tagTexte(QString t, int p, bool affTout = true, bool majPert = true, bool affHTML = true);
65 
66 private:
70  QString _resDir;
71 };
72 
73 #endif // TAGUEUR_H
Tagueur(QObject *parent=0, LemCore *l=0, QString cible="", QString resDir="")
Créateur de la classe Tagueur pour lemmatiser et désambiguïser des textes.
Definition: tagueur.cpp:114
QString tagTexte(QString t, int p, bool affTout=true, bool majPert=true, bool affHTML=true)
Pour désambiguïser une phrase (ou un texte) par étiquetage (HMM).
Definition: tagueur.cpp:252
LemCore * _lemCore
Un pointeur vers le noyau de lemmatisation qui peut être partagé.
Definition: tagueur.h:68
La classe LemCore est le noyau de lemmatisation.
Definition: lemCore.h:118
La classe Tagueur regroupe les fonctions nécessaires pour lemmatiser et désambiguïser des textes avec...
Definition: tagueur.h:59
QString _resDir
Le nom du répertoire contenant les données.
Definition: tagueur.h:70