◆ ConllHandler()
◆ ~ConllHandler()
| Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::~ConllHandler |
( |
| ) |
|
|
virtual |
◆ extractSemanticInformation()
| bool Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::extractSemanticInformation |
( |
int |
sentenceIndex, |
|
|
LimaConllTokenIdMapping * |
limaConllMapping, |
|
|
const QString & |
sentence |
|
) |
| |
extract semantic annotations associated to token
- Parameters
-
| sentenceIndex | the index of the current sentence |
| limaConllMapping | the chosen lima conll token id mapping |
| sentence | the current sentence |
- Returns
- true if any verbal class is found, false otherwise
Definition at line 280 of file SemanticRoleLabelingLoader.cpp.
◆ getLimaTokenId()
get the lima token id matching any conll token one from the same text
- Parameters
-
| conllTokenId | the conll token id one search the matched lima id |
| sentenceNb | the index of the current sentence |
| limaConllMapping | the chosen lima conll token id mapping |
- Returns
- the lima token id
- Note
- function to put in the LimaConllTokenIdMapping class?
Definition at line 376 of file SemanticRoleLabelingLoader.cpp.
◆ splitSegment()
| QStringList Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::splitSegment |
( |
const QString & |
segment, |
|
|
QRegularExpression |
separator |
|
) |
| |
split a text into different types segments
- Parameters
-
| segment | the segment to split |
| separator | the separator used to split |
- Returns
- the segment split
Definition at line 365 of file SemanticRoleLabelingLoader.cpp.
◆ m_analysis
| AnalysisContent& Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_analysis |
◆ m_descriptorSeparator
| QRegularExpression Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_descriptorSeparator |
◆ m_graph
◆ m_language
| MediaId Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_language |
◆ m_semanticRoles
| QVector< std::vector<std::pair<LinguisticGraphVertex,QString> > > Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_semanticRoles |
◆ m_tokenSeparator
| QRegularExpression Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_tokenSeparator |
◆ m_verbalClasses
| QVector< QPair<LinguisticGraphVertex,QString> > Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_verbalClasses |
◆ m_verbalClassNb
| int Lima::LinguisticProcessing::SemanticAnalysis::ConllHandler::m_verbalClassNb |
The documentation for this struct was generated from the following file: