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

#include <deeplima/dependency_parser.h>

Inheritance diagram for deeplima::DependencyParser::token_with_analysis_t:
deeplima::impl::token_t

Public Member Functions

 token_with_analysis_t (size_t num_classes)
 
 token_with_analysis_t (const token_with_analysis_t &t)=default
 
token_with_analysis_t & operator= (const token_with_analysis_t &t)=default
 
virtual ~token_with_analysis_t ()=default
 
- Public Member Functions inherited from deeplima::impl::token_t
bool eos () const
 
 token_t (uint16_t offset=0, uint16_t len=0, uint32_t idx=0, token_flags_t flags=token_flags_t::none)
 

Public Attributes

uint32_t m_lemm_idx = 0
 
std::vector< uint8_t > m_classes
 
uint16_t m_head_idx = 0
 
uint16_t m_rel_type = 0
 
- Public Attributes inherited from deeplima::impl::token_t
uint16_t m_offset
 
uint16_t m_len
 
uint32_t m_form_idx
 
token_flags_t m_flags
 
uint8_t m_mwt_len
 
uint32_t m_mwt_surface_idx
 

Detailed Description

Definition at line 34 of file dependency_parser.h.

Constructor & Destructor Documentation

◆ token_with_analysis_t() [1/2]

deeplima::DependencyParser::token_with_analysis_t::token_with_analysis_t ( size_t  num_classes)
inline

Definition at line 41 of file dependency_parser.h.

◆ token_with_analysis_t() [2/2]

deeplima::DependencyParser::token_with_analysis_t::token_with_analysis_t ( const token_with_analysis_t &  t)
default

◆ ~token_with_analysis_t()

virtual deeplima::DependencyParser::token_with_analysis_t::~token_with_analysis_t ( )
virtualdefault

Member Function Documentation

◆ operator=()

token_with_analysis_t & deeplima::DependencyParser::token_with_analysis_t::operator= ( const token_with_analysis_t &  t)
default

Member Data Documentation

◆ m_classes

std::vector<uint8_t> deeplima::DependencyParser::token_with_analysis_t::m_classes

Definition at line 37 of file dependency_parser.h.

◆ m_head_idx

uint16_t deeplima::DependencyParser::token_with_analysis_t::m_head_idx = 0

Definition at line 38 of file dependency_parser.h.

◆ m_lemm_idx

uint32_t deeplima::DependencyParser::token_with_analysis_t::m_lemm_idx = 0

Definition at line 36 of file dependency_parser.h.

◆ m_rel_type

uint16_t deeplima::DependencyParser::token_with_analysis_t::m_rel_type = 0

Definition at line 39 of file dependency_parser.h.


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