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

Definition of a function suitable to be used as a dumper for Coreferent Annotations of an Annotation graph. More...

#include <linguisticProcessing/core/CorefSolving/coreferentAnnotation.h>

Inheritance diagram for Lima::LinguisticProcessing::Coreferences::DumpCoreferent:
Lima::Common::AnnotationGraphs::AnnotationData::Dumper

Public Member Functions

 DumpCoreferent (const Lima::Common::AnnotationGraphs::AnnotationData *ad)
 
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 Coreferent Annotations of an Annotation graph.

Parameters

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

Parameters

b ga GenericAnnotation& the coreferent 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 Point Annotation and UNKNOWN_ERROR is returned .

Definition at line 521 of file coreferentAnnotation.h.

Constructor & Destructor Documentation

◆ DumpCoreferent()

Lima::LinguisticProcessing::Coreferences::DumpCoreferent::DumpCoreferent ( const Lima::Common::AnnotationGraphs::AnnotationData *  ad)

Definition at line 1298 of file coreferentAnnotation.cpp.

Member Function Documentation

◆ dump()

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

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