LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::Common::BagOfWords::BoWTermPrivate Class Reference
Inheritance diagram for Lima::Common::BagOfWords::BoWTermPrivate:
Lima::Common::BagOfWords::BoWComplexTokenPrivate Lima::Common::BagOfWords::BoWTokenPrivate

Public Member Functions

 BoWTermPrivate ()
 
 BoWTermPrivate (const BoWTermPrivate &btp)
 
- Public Member Functions inherited from Lima::Common::BagOfWords::BoWComplexTokenPrivate
 BoWComplexTokenPrivate ()
 
 BoWComplexTokenPrivate (const BoWComplexToken &)
 copy constructor
 
 BoWComplexTokenPrivate (const Lima::LimaString &lemma, const LinguisticCode category, const uint64_t position, const uint64_t length)
 
 BoWComplexTokenPrivate (const Lima::LimaString &lemma, const LinguisticCode category, const uint64_t position, const uint64_t length, std::deque< boost::shared_ptr< BoWToken > > &parts, const uint64_t head)
 a constructor to build a simple, independent complex token (parts are simple tokens, not listed elsewhere in a BoWText)
 
virtual ~BoWComplexTokenPrivate ()
 
 BoWComplexTokenPrivate (const BoWComplexTokenPrivate &)
 
BoWComplexTokenPrivate & operator= (const BoWComplexTokenPrivate &)
 
boost::shared_ptr< BoWToken > addPart (boost::shared_ptr< BoWRelation > rel, boost::shared_ptr< BoWToken > tok, const bool isHead=false)
 
void copy (const BoWComplexToken &a)
 
- Public Member Functions inherited from Lima::Common::BagOfWords::BoWTokenPrivate
 BoWTokenPrivate (const Lima::LimaString &lemma, const LinguisticCode category, const uint64_t position, const uint64_t length)
 
 BoWTokenPrivate (const Lima::LimaString &str, const uint64_t position=0, const uint64_t length=0)
 
 BoWTokenPrivate (const BoWToken &tok)
 
 BoWTokenPrivate ()
 
 BoWTokenPrivate (const BoWTokenPrivate &tok)
 
BoWTokenPrivate & operator= (const BoWTokenPrivate &tok)
 
bool operator== (const BoWTokenPrivate &tok)
 
virtual ~BoWTokenPrivate ()
 
void convertSpaces (void)
 convert the spaces in the lemma string into a non-space character (defined by the m_compoundSeparator member)
 

Friends

class BoWTerm
 

Additional Inherited Members

- Public Attributes inherited from Lima::Common::BagOfWords::BoWComplexTokenPrivate
std::deque< BoWComplexToken::Part > m_parts
 the list of the parts of the complex token
 
uint64_t m_head
 the index of the head of the complex token in its part list
 
- Public Attributes inherited from Lima::Common::BagOfWords::BoWTokenPrivate
Lima::LimaString m_lemma
 
Lima::LimaString m_inflectedForm
 
LinguisticCode m_category
 
uint64_t m_position
 
uint64_t m_length
 
uint64_t m_vertex
 
- Static Public Attributes inherited from Lima::Common::BagOfWords::BoWTokenPrivate
static LimaChar m_separator =DEFAULT_SEPARATOR
 
static LimaChar m_compoundSeparator =DEFAULT_COMPOUND_SEPARATOR
 
static bool m_useOnlyLemma =true
 

Detailed Description

Definition at line 23 of file bowTerm.cpp.

Constructor & Destructor Documentation

◆ BoWTermPrivate() [1/2]

Lima::Common::BagOfWords::BoWTermPrivate::BoWTermPrivate ( )
inline

Definition at line 28 of file bowTerm.cpp.

◆ BoWTermPrivate() [2/2]

Lima::Common::BagOfWords::BoWTermPrivate::BoWTermPrivate ( const BoWTermPrivate &  btp)
inline

Definition at line 29 of file bowTerm.cpp.

Friends And Related Symbol Documentation

◆ BoWTerm

friend class BoWTerm
friend

Definition at line 26 of file bowTerm.cpp.


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