LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::LinguisticProcessing::Compounds::ConceptModifier Class Reference

This enumeration lists the types of annotations used to specify the role of an annotation in a compound. More...

#include <linguisticProcessing/core/Compounds/CompoundTokenAnnotation.h>

Public Member Functions

 ConceptModifier ()
 
 ConceptModifier (const StringsPoolIndex &realization, const Common::MediaticData::ConceptType type=Common::MediaticData::ConceptType(std::numeric_limits< uint32_t >::max()), const std::vector< uint64_t > &references=std::vector< uint64_t >())
 
virtual ~ConceptModifier ()
 
void dump (std::ostream &os, const FsaStringsPool &sp) const
 The functions that dumps a ConceptModifier on an output stream.
 
StringsPoolIndex getRealization () const
 
Common::MediaticData::ConceptType getConceptType () const
 
void setConceptType (Common::MediaticData::ConceptType type)
 
const std::vector< uint64_t > & getReferencedAnnotations () const
 
std::vector< uint64_t > & getReferencedAnnotations ()
 
void setReferencedAnnotations (const std::vector< uint64_t > &references)
 
int32_t getIntensity () const
 
void setIntensity (int32_t intensity)
 

Detailed Description

This enumeration lists the types of annotations used to specify the role of an annotation in a compound.

It should later be replaced by semantic types as used by the future semantic analysis framework.

A representation of a concept modifier (adverb, pronoun, etc) A modifier has no structure and thus is represented by a simple annotation. It is a node annotation for adverbs or pronouns and a link annotation for adjectives

Definition at line 46 of file CompoundTokenAnnotation.h.

Constructor & Destructor Documentation

◆ ConceptModifier() [1/2]

Lima::LinguisticProcessing::Compounds::ConceptModifier::ConceptModifier ( )

Definition at line 21 of file CompoundTokenAnnotation.cpp.

◆ ConceptModifier() [2/2]

Lima::LinguisticProcessing::Compounds::ConceptModifier::ConceptModifier ( const StringsPoolIndex &  realization,
const Common::MediaticData::ConceptType  type = Common::MediaticData::ConceptType(std::numeric_limits< uint32_t >::max()),
const std::vector< uint64_t > &  references = std::vector< uint64_t>() 
)

Definition at line 28 of file CompoundTokenAnnotation.cpp.

◆ ~ConceptModifier()

Lima::LinguisticProcessing::Compounds::ConceptModifier::~ConceptModifier ( )
virtual

Definition at line 38 of file CompoundTokenAnnotation.cpp.

Member Function Documentation

◆ dump()

void Lima::LinguisticProcessing::Compounds::ConceptModifier::dump ( std::ostream &  os,
const FsaStringsPool &  sp 
) const

The functions that dumps a ConceptModifier on an output stream.

Definition at line 42 of file CompoundTokenAnnotation.cpp.

◆ getConceptType()

Common::MediaticData::ConceptType Lima::LinguisticProcessing::Compounds::ConceptModifier::getConceptType ( ) const
inline

Definition at line 141 of file CompoundTokenAnnotation.h.

◆ getIntensity()

int32_t Lima::LinguisticProcessing::Compounds::ConceptModifier::getIntensity ( ) const
inline

Definition at line 166 of file CompoundTokenAnnotation.h.

◆ getRealization()

StringsPoolIndex Lima::LinguisticProcessing::Compounds::ConceptModifier::getRealization ( ) const
inline

Definition at line 131 of file CompoundTokenAnnotation.h.

◆ getReferencedAnnotations() [1/2]

std::vector< uint64_t > & Lima::LinguisticProcessing::Compounds::ConceptModifier::getReferencedAnnotations ( )
inline

Definition at line 156 of file CompoundTokenAnnotation.h.

◆ getReferencedAnnotations() [2/2]

const std::vector< uint64_t > & Lima::LinguisticProcessing::Compounds::ConceptModifier::getReferencedAnnotations ( ) const
inline

Definition at line 151 of file CompoundTokenAnnotation.h.

◆ setConceptType()

void Lima::LinguisticProcessing::Compounds::ConceptModifier::setConceptType ( Common::MediaticData::ConceptType  type)
inline

Definition at line 146 of file CompoundTokenAnnotation.h.

◆ setIntensity()

void Lima::LinguisticProcessing::Compounds::ConceptModifier::setIntensity ( int32_t  intensity)
inline

Definition at line 171 of file CompoundTokenAnnotation.h.

◆ setReferencedAnnotations()

void Lima::LinguisticProcessing::Compounds::ConceptModifier::setReferencedAnnotations ( const std::vector< uint64_t > &  references)
inline

Definition at line 161 of file CompoundTokenAnnotation.h.


The documentation for this class was generated from the following files: