LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::Common::BagOfWords::LTR_Text Class Reference

a linear text representation More...

#include <linguisticProcessing/common/linearTextRepresentation/ltrText.h>

Inheritance diagram for Lima::Common::BagOfWords::LTR_Text:

Public Types

typedef SENTENCE_BOUNDS_T::const_iterator SENTS_CONST_ITER_T
 

Public Member Functions

constructors/destructor
 LTR_Text ()
 
virtual ~LTR_Text ()
 
accessors
std::string getId () const
 
void setId (const std::string &id)
 
accessing
SENTS_CONST_ITER_T beginSentenceBounds () const
 
SENTS_CONST_ITER_T endSentenceBounds () const
 
adding
void addToken (boost::shared_ptr< LTR_Token > &token)
 
void addSentenceBound (const uint64_t &sb)
 
void appendLTR_Text (const LTR_Text &ltr)
 
reading/writing
void binaryWriteOn (std::ostream &os) const
 
void binaryReadFrom (std::istream &is)
 

Friends

printing
LIMA_LINEARTEXTREPRESENTATION_EXPORT std::ostream & operator<< (std::ostream &os, const LTR_Text &text)
 
LIMA_LINEARTEXTREPRESENTATION_EXPORT QDebug & operator<< (QDebug &os, const LTR_Text &text)
 

copying

 LTR_Text (const LTR_Text &text)
 
void clear ()
 clear
 

Detailed Description

a linear text representation

Definition at line 41 of file ltrText.h.

Member Typedef Documentation

◆ SENTS_CONST_ITER_T

typedef SENTENCE_BOUNDS_T::const_iterator Lima::Common::BagOfWords::LTR_Text::SENTS_CONST_ITER_T

Definition at line 49 of file ltrText.h.

Constructor & Destructor Documentation

◆ LTR_Text() [1/2]

Lima::Common::BagOfWords::LTR_Text::LTR_Text ( )
inline

Definition at line 54 of file ltrText.h.

◆ ~LTR_Text()

virtual Lima::Common::BagOfWords::LTR_Text::~LTR_Text ( )
inlinevirtual

Definition at line 55 of file ltrText.h.

◆ LTR_Text() [2/2]

Lima::Common::BagOfWords::LTR_Text::LTR_Text ( const LTR_Text &  text)

Definition at line 38 of file ltrText.cpp.

Member Function Documentation

◆ addSentenceBound()

void Lima::Common::BagOfWords::LTR_Text::addSentenceBound ( const uint64_t &  sb)

Definition at line 61 of file ltrText.cpp.

◆ addToken()

void Lima::Common::BagOfWords::LTR_Text::addToken ( boost::shared_ptr< LTR_Token > &  token)

Definition at line 57 of file ltrText.cpp.

◆ appendLTR_Text()

void Lima::Common::BagOfWords::LTR_Text::appendLTR_Text ( const LTR_Text &  ltr)

Definition at line 65 of file ltrText.cpp.

◆ beginSentenceBounds()

SENTS_CONST_ITER_T Lima::Common::BagOfWords::LTR_Text::beginSentenceBounds ( ) const
inline

Definition at line 89 of file ltrText.h.

◆ binaryReadFrom()

void Lima::Common::BagOfWords::LTR_Text::binaryReadFrom ( std::istream &  is)

Definition at line 116 of file ltrText.cpp.

◆ binaryWriteOn()

void Lima::Common::BagOfWords::LTR_Text::binaryWriteOn ( std::ostream &  os) const

Definition at line 86 of file ltrText.cpp.

◆ clear()

void Lima::Common::BagOfWords::LTR_Text::clear ( )
inline

clear

Definition at line 76 of file ltrText.h.

◆ endSentenceBounds()

SENTS_CONST_ITER_T Lima::Common::BagOfWords::LTR_Text::endSentenceBounds ( ) const
inline

Definition at line 92 of file ltrText.h.

◆ getId()

std::string Lima::Common::BagOfWords::LTR_Text::getId ( ) const
inline

Definition at line 60 of file ltrText.h.

◆ setId()

void Lima::Common::BagOfWords::LTR_Text::setId ( const std::string &  id)
inline

Definition at line 63 of file ltrText.h.

Friends And Related Symbol Documentation

◆ operator<< [1/2]

LIMA_LINEARTEXTREPRESENTATION_EXPORT QDebug & operator<< ( QDebug &  os,
const LTR_Text &  text 
)
friend

Definition at line 157 of file ltrText.cpp.

◆ operator<< [2/2]

LIMA_LINEARTEXTREPRESENTATION_EXPORT std::ostream & operator<< ( std::ostream &  os,
const LTR_Text &  text 
)
friend

Definition at line 136 of file ltrText.cpp.


The documentation for this class was generated from the following files: