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

Definition of a function suitable to be used as a dumper for a compound token annotation of an annotation graph. More...

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

Inheritance diagram for Lima::LinguisticProcessing::Compounds::DumpCompoundTokenAnnotation:
Lima::Common::AnnotationGraphs::AnnotationData::Dumper

Public Member Functions

 DumpCompoundTokenAnnotation (const FsaStringsPool &sp)
 
virtual int dump (std::ostream &os, Common::AnnotationGraphs::GenericAnnotation &ga) const override
 
- Public Member Functions inherited from Lima::Common::AnnotationGraphs::AnnotationData::Dumper
virtual ~Dumper ()
 

Detailed Description

Definition of a function suitable to be used as a dumper for a compound token annotation of an annotation graph.

Parameters

b os std::ostream& the stream on which to dump the annotation

Parameters

b ga GenericAnnotation& the compound token annotation to be dumped.

Returns
int If succesful, SUCCESS_ID is returned. An error is displayed in the case where the given annotation is not a compound token annotation and UNKNOWN_ERROR is returned .

Definition at line 117 of file CompoundTokenAnnotation.h.

Constructor & Destructor Documentation

◆ DumpCompoundTokenAnnotation()

Lima::LinguisticProcessing::Compounds::DumpCompoundTokenAnnotation::DumpCompoundTokenAnnotation ( const FsaStringsPool &  sp)
inline

Definition at line 120 of file CompoundTokenAnnotation.h.

Member Function Documentation

◆ dump()

int Lima::LinguisticProcessing::Compounds::DumpCompoundTokenAnnotation::dump ( std::ostream &  os,
Common::AnnotationGraphs::GenericAnnotation &  ga 
) const
overridevirtual

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