LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::DependencyParser::enriched_token_t Class Reference

#include <deeplima/dependency_parser.h>

Public Member Functions

 enriched_token_t (const StringIndex &stridx)
 
token_flags_t flags () const
 
bool eos () const
 
uint32_t cls (size_t idx) const
 
const std::string & form () const
 

Protected Member Functions

void set_token (const typename tokens_with_analysis_t::token_t *p)
 

Protected Attributes

const StringIndex & m_stridx
 
const tokens_with_analysis_t::token_t * m_ptoken
 

Friends

class DependencyParser
 

Detailed Description

Definition at line 62 of file dependency_parser.h.

Constructor & Destructor Documentation

◆ enriched_token_t()

deeplima::DependencyParser::enriched_token_t::enriched_token_t ( const StringIndex &  stridx)
inline

Definition at line 76 of file dependency_parser.h.

Member Function Documentation

◆ cls()

uint32_t deeplima::DependencyParser::enriched_token_t::cls ( size_t  idx) const
inline

Definition at line 93 of file dependency_parser.h.

◆ eos()

bool deeplima::DependencyParser::enriched_token_t::eos ( ) const
inline

Definition at line 87 of file dependency_parser.h.

◆ flags()

token_flags_t deeplima::DependencyParser::enriched_token_t::flags ( ) const
inline

Definition at line 81 of file dependency_parser.h.

◆ form()

const std::string & deeplima::DependencyParser::enriched_token_t::form ( ) const
inline

Definition at line 99 of file dependency_parser.h.

◆ set_token()

void deeplima::DependencyParser::enriched_token_t::set_token ( const typename tokens_with_analysis_t::token_t *  p)
inlineprotected

Definition at line 70 of file dependency_parser.h.

Friends And Related Symbol Documentation

◆ DependencyParser

friend class DependencyParser
friend

Definition at line 64 of file dependency_parser.h.

Member Data Documentation

◆ m_ptoken

const tokens_with_analysis_t::token_t* deeplima::DependencyParser::enriched_token_t::m_ptoken
protected

Definition at line 68 of file dependency_parser.h.

◆ m_stridx

const StringIndex& deeplima::DependencyParser::enriched_token_t::m_stridx
protected

Definition at line 67 of file dependency_parser.h.


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