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

a token of a linear text representation Each LTR_Token represents the set of words that start at a position. More...

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

Inheritance diagram for Lima::Common::BagOfWords::LTR_Token:

Public Member Functions

constructors
 LTR_Token ()
 
destructor
 ~LTR_Token ()
 
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_Token &tok)
 
LIMA_LINEARTEXTREPRESENTATION_EXPORT QDebug & operator<< (QDebug &os, const LTR_Token &tok)
 

copying

 LTR_Token (const LTR_Token &tok)
 

Detailed Description

a token of a linear text representation Each LTR_Token represents the set of words that start at a position.

For each word, a boolean flag states if the corresponding word is a plain word

Definition at line 47 of file ltrToken.h.

Constructor & Destructor Documentation

◆ LTR_Token() [1/2]

Lima::Common::BagOfWords::LTR_Token::LTR_Token ( )
inline

Definition at line 53 of file ltrToken.h.

◆ ~LTR_Token()

Lima::Common::BagOfWords::LTR_Token::~LTR_Token ( )

Definition at line 42 of file ltrToken.cpp.

◆ LTR_Token() [2/2]

Lima::Common::BagOfWords::LTR_Token::LTR_Token ( const LTR_Token &  tok)

Definition at line 50 of file ltrToken.cpp.

Member Function Documentation

◆ binaryReadFrom()

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

Definition at line 82 of file ltrToken.cpp.

◆ binaryWriteOn()

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

Definition at line 66 of file ltrToken.cpp.

Friends And Related Symbol Documentation

◆ operator<< [1/2]

LIMA_LINEARTEXTREPRESENTATION_EXPORT QDebug & operator<< ( QDebug &  os,
const LTR_Token &  tok 
)
friend

Definition at line 110 of file ltrToken.cpp.

◆ operator<< [2/2]

LIMA_LINEARTEXTREPRESENTATION_EXPORT std::ostream & operator<< ( std::ostream &  os,
const LTR_Token &  tok 
)
friend

Definition at line 99 of file ltrToken.cpp.


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