#include <linguisticProcessing/core/AnalysisDumpers/posGraphXmlDumper.h>
|
| void | dumpLimaData (std::ostream &os, const LinguisticGraphVertex begin, const LinguisticGraphVertex end, const LinguisticAnalysisStructure::AnalysisGraph *anagraph, const LinguisticAnalysisStructure::AnalysisGraph *posgraph, const SyntacticAnalysis::SyntacticData *syntacticData, const Common::AnnotationGraphs::AnnotationData *annotationData, const std::string &graphId, bool bySentence, std::vector< bool > &alreadyDumpedTokens, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, int sentenceId) const |
| |
| LimaString | getPosition (const uint64_t position) const |
| |
| void | outputVertex (const LinguisticGraphVertex v, const LinguisticGraph &lanagraph, const LinguisticGraph &lposgraph, const SyntacticAnalysis::SyntacticData *syntacticData, const Common::AnnotationGraphs::AnnotationData *annotationData, std::ostream &xmlStream, std::map< LinguisticAnalysisStructure::Token *, uint64_t > &fullTokens, std::vector< bool > &alreadyDumpedFullTokens, const std::string &graphId) const |
| |
| void | outputEdge (const LinguisticGraphEdge e, const LinguisticGraph &graph, std::ostream &xmlStream) const |
| |
| void | naturalCompoundTokenString (const Common::BagOfWords::BoWTerm *compound, QVector< LimaString > &result) const |
| |
Definition at line 59 of file posGraphXmlDumper.h.
◆ posGraphXmlDumper()
| Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::posGraphXmlDumper |
( |
| ) |
|
◆ ~posGraphXmlDumper()
| Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::~posGraphXmlDumper |
( |
| ) |
|
|
virtual |
◆ dumpLimaData()
| void Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::dumpLimaData |
( |
std::ostream & |
os, |
|
|
const LinguisticGraphVertex |
begin, |
|
|
const LinguisticGraphVertex |
end, |
|
|
const LinguisticAnalysisStructure::AnalysisGraph * |
anagraph, |
|
|
const LinguisticAnalysisStructure::AnalysisGraph * |
posgraph, |
|
|
const SyntacticAnalysis::SyntacticData * |
syntacticData, |
|
|
const Common::AnnotationGraphs::AnnotationData * |
annotationData, |
|
|
const std::string & |
graphId, |
|
|
bool |
bySentence, |
|
|
std::vector< bool > & |
alreadyDumpedTokens, |
|
|
std::map< LinguisticAnalysisStructure::Token *, uint64_t > & |
fullTokens, |
|
|
int |
sentenceId |
|
) |
| const |
|
protected |
◆ getPosition()
| LimaString Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::getPosition |
( |
const uint64_t |
position | ) |
const |
|
protected |
◆ init()
initialize with parameters from configuration file.
- Parameters
-
| unitConfiguration | @IN : <group> tag in xml configuration file that contains parameters to initialize the object. |
| manager | @IN : manager that asked for initialization and carries init params Use it to initialize other objects of same kind. |
- Exceptions
-
Implements Lima::MediaProcessUnit.
Definition at line 91 of file posGraphXmlDumper.cpp.
◆ naturalCompoundTokenString()
◆ outputEdge()
| void Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::outputEdge |
( |
const LinguisticGraphEdge |
e, |
|
|
const LinguisticGraph & |
graph, |
|
|
std::ostream & |
xmlStream |
|
) |
| const |
|
protected |
◆ outputVertex()
◆ process()
Process on data in analysisContent.
This method should not return any exception
- Parameters
-
- Exceptions
-
| UndefinedMethod | if this method hasn't been specialized |
Implements Lima::MediaProcessUnit.
Definition at line 133 of file posGraphXmlDumper.cpp.
◆ m_bowGenerator
◆ m_dumpFullTokens
| bool Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::m_dumpFullTokens |
|
protected |
◆ m_graph
| std::string Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::m_graph |
|
protected |
◆ m_handler
| std::string Lima::LinguisticProcessing::AnalysisDumpers::posGraphXmlDumper::m_handler |
|
protected |
◆ m_propertyCodeManager
The documentation for this class was generated from the following files: