10#ifndef LIMA_LINGUISTICPROCESSING_COMPOUNDSBOWGENERATION_H
11#define LIMA_LINGUISTICPROCESSING_COMPOUNDSBOWGENERATION_H
30namespace AnnotationGraphs
40namespace LinguisticProcessing
42namespace SemanticAnalysis
46namespace SyntacticAnalysis
50namespace AnalysisDumpers
57class BowGeneratorPrivate;
95 std::vector< std::pair< boost::shared_ptr< Common::BagOfWords::BoWRelation >,
96 boost::shared_ptr< Common::BagOfWords::BoWToken > > > buildTermFor(
101 const uint64_t offset,
104 std::set<LinguisticGraphVertex>& visited)
const;
106 std::vector< std::pair< boost::shared_ptr< Common::BagOfWords::BoWRelation >,
107 boost::shared_ptr< Common::BagOfWords::AbstractBoWElement > > > createAbstractBoWElement(
111 const uint64_t offsetBegin,
113 std::set<LinguisticGraphVertex>& visited,
114 bool keepAnyway =
false)
const;
128 QList< boost::shared_ptr< Common::BagOfWords::BoWPredicate > > createSemanticRelationPredicate(
137 std::set< LinguisticGraphVertex >& visited,
138 bool keepAnyway)
const;
145 boost::shared_ptr< Common::BagOfWords::BoWNamedEntity > createSpecificEntity(
151 const uint64_t offset,
#define LIMA_ANALYSISDUMPERS_EXPORT
A graph that stores any data (annotations) referencing primarily nodes of a text anlaysis.
A graph structure for linguistic analysis.
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, LinguisticVertexProperties > LinguisticGraph
Property to identify the chains in the graph.
Holds an annotation graph and gives an API to manipulate it.
Parameters retrived in the configuration file:
BowGenerator & operator=(const BowGenerator &)=delete
BowGenerator(const BowGenerator &)=delete
An annotation between two annotation graph vertices denoting the semantic relation(s) holding between...
This class points to a graph, its dependency graph and the structure that holds the maping between th...
AnnotationGraph::vertex_descriptor AnnotationGraphVertex