![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/TextSegmentation/SegmentationData.h>
Public Member Functions | |
| Segment (const std::string &type) | |
| Segment (const std::string &type, LinguisticGraphVertex begin, LinguisticGraphVertex end, LinguisticAnalysisStructure::AnalysisGraph *graph) | |
| ~Segment () | |
| bool | operator< (const Segment &s) const |
| void | addSegment (const Segment &s) |
| void | setVerticesFromPositions (uint64_t posBegin, uint64_t length, LinguisticAnalysisStructure::AnalysisGraph *anagraph) |
| void | setFirstVertex (LinguisticGraphVertex v) |
| void | setLastVertex (LinguisticGraphVertex v) |
| void | setLength (uint64_t l) |
| void | setType (const std::string &type) |
| LinguisticGraphVertex | getFirstVertex () const |
| LinguisticGraphVertex | getLastVertex () const |
| uint64_t | getPosBegin () const |
| uint64_t | getPosEnd () const |
| uint64_t | getLength () const |
| const std::string & | getType () const |
Friends | |
| LIMA_TEXTSEGMENTATION_EXPORT friend std::ostream & | operator<< (std::ostream &os, const Segment &seg) |
| LIMA_TEXTSEGMENTATION_EXPORT friend QDebug & | operator<< (QDebug &os, const Segment &seg) |
Definition at line 22 of file SegmentationData.h.
|
explicit |
Definition at line 29 of file SegmentationData.cpp.
| Lima::LinguisticProcessing::Segment::Segment | ( | const std::string & | type, |
| LinguisticGraphVertex | begin, | ||
| LinguisticGraphVertex | end, | ||
| LinguisticAnalysisStructure::AnalysisGraph * | graph | ||
| ) |
Definition at line 38 of file SegmentationData.cpp.
|
inline |
Definition at line 37 of file SegmentationData.h.
| void Lima::LinguisticProcessing::Segment::addSegment | ( | const Segment & | s | ) |
Definition at line 273 of file SegmentationData.cpp.
|
inline |
Definition at line 53 of file SegmentationData.h.
|
inline |
Definition at line 54 of file SegmentationData.h.
|
inline |
Definition at line 57 of file SegmentationData.h.
|
inline |
Definition at line 55 of file SegmentationData.h.
|
inline |
Definition at line 56 of file SegmentationData.h.
|
inline |
Definition at line 58 of file SegmentationData.h.
| bool Lima::LinguisticProcessing::Segment::operator< | ( | const Segment & | s | ) | const |
Definition at line 268 of file SegmentationData.cpp.
|
inline |
Definition at line 47 of file SegmentationData.h.
|
inline |
Definition at line 48 of file SegmentationData.h.
|
inline |
Definition at line 50 of file SegmentationData.h.
|
inline |
Definition at line 51 of file SegmentationData.h.
| void Lima::LinguisticProcessing::Segment::setVerticesFromPositions | ( | uint64_t | posBegin, |
| uint64_t | length, | ||
| LinguisticAnalysisStructure::AnalysisGraph * | anagraph | ||
| ) |
Definition at line 196 of file SegmentationData.cpp.
|
friend |
Definition at line 299 of file SegmentationData.cpp.
|
friend |
Definition at line 288 of file SegmentationData.cpp.