#include <linguisticProcessing/core/Automaton/recognizerData.h>
|
| | RecognizerData () |
| |
| virtual | ~RecognizerData () |
| |
| bool | matchOnRemovedVertices (const Automaton::RecognizerMatch &result) const |
| |
| void | storeVerticesToRemove (const Automaton::RecognizerMatch &result, LinguisticGraph *graph) |
| |
| void | clearVerticesToRemove () |
| |
| void | removeVertices (AnalysisContent &analysis) const |
| |
| void | setEdgeToBeRemoved (AnalysisContent &analysis, LinguisticGraphEdge e) |
| |
| void | clearEdgesToRemove () |
| |
| void | removeEdges (AnalysisContent &analysis) |
| |
| bool | isEdgeToBeRemoved (LinguisticGraphVertex s, LinguisticGraphVertex t) const |
| |
| void | clearUnreachableVertices (AnalysisContent &analysis, LinguisticGraphVertex from, LinguisticGraphVertex to, std::set< std::pair< LinguisticGraphVertex, LinguisticGraphVertex > > &storedEdges) |
| | remove edges linked to vertices that have no path between from and to excepted those in storedEdges
|
| |
| void | clearUnreachableVertices (AnalysisContent &analysis, LinguisticGraphVertex from) |
| |
| void | setResultData (RecognizerResultData *data) |
| |
| void | deleteResultData () |
| |
| void | addResult (const Automaton::RecognizerMatch &result) |
| |
| void | nextSentence () |
| |
| bool | hasStoredResults () const |
| |
| const std::string & | getGraphId () const |
| |
| const std::set< LinguisticGraphVertex > & | getNextVertices () const |
| |
| std::set< LinguisticGraphVertex > & | getNextVertices () |
| |
| void | setNextVertex (LinguisticGraphVertex v) |
| |
| template<typename ValueType > |
| void | setEntityFeature (const std::string &name, const ValueType &value) |
| |
| template<typename ValueType > |
| void | addEntityFeature (const std::string &name, const ValueType &value) |
| |
| template<typename ValueType > |
| void | appendEntityFeature (const std::string &name, const ValueType &value) |
| |
| void | addVertexAsEmbededEntity (const LinguisticGraphVertex &vertex) |
| |
| bool | hasVertexAsEmbededEntity (const LinguisticGraphVertex &vertex) const |
| |
| void | clearEntityFeatures () |
| |
| Automaton::EntityFeatures & | getEntityFeatures () |
| |
| virtual | ~AnalysisData () |
| |
Definition at line 56 of file recognizerData.h.
◆ RecognizerData()
| Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::RecognizerData |
( |
| ) |
|
◆ ~RecognizerData()
| Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::~RecognizerData |
( |
| ) |
|
|
virtual |
◆ addEntityFeature()
template<typename ValueType >
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::addEntityFeature |
( |
const std::string & |
name, |
|
|
const ValueType & |
value |
|
) |
| |
|
inline |
◆ addResult()
◆ addVertexAsEmbededEntity()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::addVertexAsEmbededEntity |
( |
const LinguisticGraphVertex & |
vertex | ) |
|
|
inline |
◆ appendEntityFeature()
template<typename ValueType >
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::appendEntityFeature |
( |
const std::string & |
name, |
|
|
const ValueType & |
value |
|
) |
| |
|
inline |
◆ clearEdgesToRemove()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::clearEdgesToRemove |
( |
| ) |
|
|
inline |
◆ clearEntityFeatures()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::clearEntityFeatures |
( |
| ) |
|
◆ clearUnreachableVertices() [1/2]
◆ clearUnreachableVertices() [2/2]
remove edges linked to vertices that have no path between from and to excepted those in storedEdges
- Precondition
- All vertices that have to be kept must be reachable from
from and to should be reachable from them
- Parameters
-
| analysis | IN/OUT AnalysisContent& the analysis containing the graph to modify |
| from | IN LinguisticGraphVertex the vertex from which to start the search |
| to | IN LinguisticGraphVertex the vertex on which to finish the search |
| storedEdges | IN std::set< LinguisticGraphEdge >&The edges to keep anyway |
Definition at line 293 of file recognizerData.cpp.
◆ clearVerticesToRemove()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::clearVerticesToRemove |
( |
| ) |
|
|
inline |
◆ deleteResultData()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::deleteResultData |
( |
| ) |
|
◆ getEntityFeatures()
◆ getGraphId()
| const std::string & Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::getGraphId |
( |
| ) |
const |
|
inline |
◆ getNextVertices() [1/2]
| std::set< LinguisticGraphVertex > & Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::getNextVertices |
( |
| ) |
|
|
inline |
◆ getNextVertices() [2/2]
| const std::set< LinguisticGraphVertex > & Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::getNextVertices |
( |
| ) |
const |
|
inline |
◆ hasStoredResults()
| bool Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::hasStoredResults |
( |
| ) |
const |
|
inline |
◆ hasVertexAsEmbededEntity()
| bool Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::hasVertexAsEmbededEntity |
( |
const LinguisticGraphVertex & |
vertex | ) |
const |
|
inline |
◆ isEdgeToBeRemoved()
◆ matchOnRemovedVertices()
| bool Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::matchOnRemovedVertices |
( |
const Automaton::RecognizerMatch & |
result | ) |
const |
◆ nextSentence()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::nextSentence |
( |
| ) |
|
◆ removeEdges()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::removeEdges |
( |
AnalysisContent & |
analysis | ) |
|
◆ removeVertices()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::removeVertices |
( |
AnalysisContent & |
analysis | ) |
const |
◆ setEdgeToBeRemoved()
◆ setEntityFeature()
template<typename ValueType >
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::setEntityFeature |
( |
const std::string & |
name, |
|
|
const ValueType & |
value |
|
) |
| |
|
inline |
◆ setNextVertex()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::setNextVertex |
( |
LinguisticGraphVertex |
v | ) |
|
|
inline |
◆ setResultData()
| void Lima::LinguisticProcessing::ApplyRecognizer::RecognizerData::setResultData |
( |
RecognizerResultData * |
data | ) |
|
◆ storeVerticesToRemove()
The documentation for this class was generated from the following files: