LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::LinguisticProcessing::PosTagger Namespace Reference

Classes

class  SimpleCostFunction
class  ThresholdCostFunction
class  DisambiguatedGraphXmlLogger
struct  lToken
class  DisambiguationLogger
class  DummyPosTagger
class  DynamicSvmToolPosTagger
 A PoS tagger using SVMTool as a backend and Viterbi to maximize the results. More...
class  DynamicSvmToolPosTaggerFactory
class  FrequencyCost
class  FrequencyCostFunction
class  GreedyPosTagger
class  IntegerCost
class  IntegerCostFunction
class  TrigramMatrix
class  BigramMatrix
struct  TriGramPaths
 Structure contenant les trois catégories grammaticales ainsi que le noeud adjacent au noeud donné More...
struct  BiGramPaths
 Structure contenant les deux catégories grammaticales ainsi que le noeud adjacent au noeud donné More...
class  PosTaggingGraphWriter
class  PosTaggingVertexWriter
class  PosTaggingEdgeWriter
struct  PredData
struct  StepData
struct  TargetVertexId
class  SvmToolPosTaggerPrivate
class  SvmToolPosTagger
 A PoS tagger using SVMTool as a backend. More...
class  SvmToolPosTaggerFactory
class  ViterbiPosTagger
class  ViterbiPosTaggerFactory
class  ViterbiCostFunction
class  FrequencyCostFactory
class  SimpleIntegerCostFactory

Typedefs

typedef std::map< LinguisticCode, std::vector< PredData > > MicroCatDataMap
typedef std::map< LinguisticCode, std::vector< PredData > >::iterator MicroCatDataMapItr
typedef std::vector< PredData >::iterator PredDataVectorItr
typedef std::vector< PredData >::const_iterator PredDataVectorCItr
typedef std::vector< StepData > StepDataVector
typedef std::vector< StepData >::iterator StepDataVectorItr

Functions

std::ostream & operator<< (std::ostream &out, const FrequencyCost &cost)
std::ostream & operator<< (std::ostream &out, const IntegerCost &cost)
void buildThreeVerticesPaths (PhoenixGraphVertex &v, const PhoenixLingGraph &g, std::vector< TriGramPaths > &trigramPathsVector)
 Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud donné).
void buildParticularCaseThreeVerticesPaths (PhoenixGraphVertex &v, const PhoenixLingGraph &g, std::vector< TriGramPaths > &trigramPathsVector)
 Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud adjacent au noeud donné).
void buildTwoVerticesPaths (PhoenixGraphVertex &v, const PhoenixLingGraph &g, std::vector< BiGramPaths > &bigramPathsVector)
 Retourne un vecteur de structures de type BiGramPaths (Le troisième champ de la structure est le noeud adjacent au noeud donné).
void buildThreeVerticesPaths (LinguisticGraphVertex &v, const LinguisticGraph &g, std::vector< TriGramPaths > &trigramPathsVector)
 Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud donné).
void buildParticularCaseThreeVerticesPaths (LinguisticGraphVertex &v, const LinguisticGraph &g, std::vector< TriGramPaths > &trigramPathsVector)
 Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud adjacent au noeud donné).
void buildTwoVerticesPaths (LinguisticGraphVertex &v, const LinguisticGraph &g, std::vector< BiGramPaths > &bigramPathsVector)
 Retourne un vecteur de structures de type BiGramPaths (Le troisième champ de la structure est le noeud adjacent au noeud donné).

Variables

SimpleFactory< MediaProcessUnit, DisambiguatedGraphXmlLogger > disambiguatedGraphXmlLoggerFactory ("DisambiguatedGraphXmlLogger")
SimpleFactory< MediaProcessUnit, DisambiguationLogger > disambiguationLoggerFactory (DISAMBIGUATIONLOGGER_CLASSID)
SimpleFactory< MediaProcessUnit, DummyPosTagger > dummyPosTaggerFactory (DUMMYPOSTAGGER_CLASSID)
SimpleFactory< MediaProcessUnit, GreedyPosTagger > greedyPosTaggerFactory (GREEDYPOSTAGGER_CLASSID)
SimpleFactory< AbstractResource, TrigramMatrix > trigramMatrixFactory (TRIGRAMMATRIX_CLASSID)
SimpleFactory< AbstractResource, BigramMatrix > bigramMatrixFactory (BIGRAMMATRIX_CLASSID)

Typedef Documentation

◆ MicroCatDataMap

Definition at line 65 of file SvmToolPosTagger.cpp.

◆ MicroCatDataMapItr

Definition at line 66 of file SvmToolPosTagger.cpp.

◆ PredDataVectorCItr

Definition at line 68 of file SvmToolPosTagger.cpp.

◆ PredDataVectorItr

Definition at line 67 of file SvmToolPosTagger.cpp.

◆ StepDataVector

Definition at line 77 of file SvmToolPosTagger.cpp.

◆ StepDataVectorItr

Definition at line 78 of file SvmToolPosTagger.cpp.

Function Documentation

◆ buildParticularCaseThreeVerticesPaths() [1/2]

void Lima::LinguisticProcessing::PosTagger::buildParticularCaseThreeVerticesPaths ( LinguisticGraphVertex & v,
const LinguisticGraph & g,
std::vector< TriGramPaths > & trigramPathsVector )

Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud adjacent au noeud donné).

Author
Nasredine Semmar

◆ buildParticularCaseThreeVerticesPaths() [2/2]

void Lima::LinguisticProcessing::PosTagger::buildParticularCaseThreeVerticesPaths ( PhoenixGraphVertex & v,
const PhoenixLingGraph & g,
std::vector< TriGramPaths > & trigramPathsVector )

Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud adjacent au noeud donné).

Author
Nasredine Semmar

Definition at line 98 of file ngrampaths.cpp.

◆ buildThreeVerticesPaths() [1/2]

void Lima::LinguisticProcessing::PosTagger::buildThreeVerticesPaths ( LinguisticGraphVertex & v,
const LinguisticGraph & g,
std::vector< TriGramPaths > & trigramPathsVector )

Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud donné).

Author
Nasredine Semmar

◆ buildThreeVerticesPaths() [2/2]

void Lima::LinguisticProcessing::PosTagger::buildThreeVerticesPaths ( PhoenixGraphVertex & v,
const PhoenixLingGraph & g,
std::vector< TriGramPaths > & trigramPathsVector )

Retourne un vecteur de structures de type TriGramPaths (Le quatrième champ de la structure est le noeud adjacent au noeud donné).

Author
Nasredine Semmar

Definition at line 30 of file ngrampaths.cpp.

◆ buildTwoVerticesPaths() [1/2]

void Lima::LinguisticProcessing::PosTagger::buildTwoVerticesPaths ( LinguisticGraphVertex & v,
const LinguisticGraph & g,
std::vector< BiGramPaths > & bigramPathsVector )

Retourne un vecteur de structures de type BiGramPaths (Le troisième champ de la structure est le noeud adjacent au noeud donné).

Author
Nasredine Semmar

◆ buildTwoVerticesPaths() [2/2]

void Lima::LinguisticProcessing::PosTagger::buildTwoVerticesPaths ( PhoenixGraphVertex & v,
const PhoenixLingGraph & g,
std::vector< BiGramPaths > & bigramPathsVector )

Retourne un vecteur de structures de type BiGramPaths (Le troisième champ de la structure est le noeud adjacent au noeud donné).

Author
Nasredine Semmar

Definition at line 166 of file ngrampaths.cpp.

◆ operator<<() [1/2]

std::ostream & Lima::LinguisticProcessing::PosTagger::operator<< ( std::ostream & out,
const FrequencyCost & cost )

Definition at line 67 of file frequencyCost.cpp.

◆ operator<<() [2/2]

std::ostream & Lima::LinguisticProcessing::PosTagger::operator<< ( std::ostream & out,
const IntegerCost & cost )

Definition at line 35 of file integerCost.cpp.

Variable Documentation

◆ bigramMatrixFactory

SimpleFactory< AbstractResource, BigramMatrix > Lima::LinguisticProcessing::PosTagger::bigramMatrixFactory(BIGRAMMATRIX_CLASSID) ( BIGRAMMATRIX_CLASSID )

◆ disambiguatedGraphXmlLoggerFactory

SimpleFactory< MediaProcessUnit, DisambiguatedGraphXmlLogger > Lima::LinguisticProcessing::PosTagger::disambiguatedGraphXmlLoggerFactory("DisambiguatedGraphXmlLogger") ( "DisambiguatedGraphXmlLogger" )

◆ disambiguationLoggerFactory

SimpleFactory< MediaProcessUnit, DisambiguationLogger > Lima::LinguisticProcessing::PosTagger::disambiguationLoggerFactory(DISAMBIGUATIONLOGGER_CLASSID) ( DISAMBIGUATIONLOGGER_CLASSID )

◆ dummyPosTaggerFactory

SimpleFactory< MediaProcessUnit, DummyPosTagger > Lima::LinguisticProcessing::PosTagger::dummyPosTaggerFactory(DUMMYPOSTAGGER_CLASSID) ( DUMMYPOSTAGGER_CLASSID )

◆ greedyPosTaggerFactory

SimpleFactory< MediaProcessUnit, GreedyPosTagger > Lima::LinguisticProcessing::PosTagger::greedyPosTaggerFactory(GREEDYPOSTAGGER_CLASSID) ( GREEDYPOSTAGGER_CLASSID )

◆ trigramMatrixFactory

SimpleFactory< AbstractResource, TrigramMatrix > Lima::LinguisticProcessing::PosTagger::trigramMatrixFactory(TRIGRAMMATRIX_CLASSID) ( TRIGRAMMATRIX_CLASSID )