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

#include </home/runner/work/lima/lima/deeplima/libs/conllu/line.h>

Public Types

typedef uint16_t base_int_t

Public Member Functions

 idx_t ()
 idx_t (base_int_t first, base_int_t last, base_int_t sub=0)
 idx_t (base_int_t first)
 idx_t (const std::string &s)
bool is_multiword () const
bool is_empty () const
bool is_real_word () const
bool parse (const std::string &s)
std::string serialize () const

Public Attributes

base_int_t _first
base_int_t _last
base_int_t _sub

Detailed Description

Definition at line 27 of file line.h.

Member Typedef Documentation

◆ base_int_t

Definition at line 29 of file line.h.

Constructor & Destructor Documentation

◆ idx_t() [1/4]

deeplima::CoNLLU::idx_t::idx_t ( )
inline

Definition at line 37 of file line.h.

◆ idx_t() [2/4]

deeplima::CoNLLU::idx_t::idx_t ( base_int_t first,
base_int_t last,
base_int_t sub = 0 )
inline

Definition at line 38 of file line.h.

◆ idx_t() [3/4]

deeplima::CoNLLU::idx_t::idx_t ( base_int_t first)
inlineexplicit

Definition at line 39 of file line.h.

◆ idx_t() [4/4]

deeplima::CoNLLU::idx_t::idx_t ( const std::string & s)
inlineexplicit

Definition at line 40 of file line.h.

Member Function Documentation

◆ is_empty()

bool deeplima::CoNLLU::idx_t::is_empty ( ) const
inline

Definition at line 53 of file line.h.

◆ is_multiword()

bool deeplima::CoNLLU::idx_t::is_multiword ( ) const
inline

Definition at line 48 of file line.h.

◆ is_real_word()

bool deeplima::CoNLLU::idx_t::is_real_word ( ) const
inline

Definition at line 58 of file line.h.

◆ parse()

bool deeplima::CoNLLU::idx_t::parse ( const std::string & s)

Definition at line 385 of file treebank.cpp.

◆ serialize()

string deeplima::CoNLLU::idx_t::serialize ( ) const

Definition at line 420 of file treebank.cpp.

Member Data Documentation

◆ _first

base_int_t deeplima::CoNLLU::idx_t::_first

Definition at line 30 of file line.h.

◆ _last

base_int_t deeplima::CoNLLU::idx_t::_last

Definition at line 31 of file line.h.

◆ _sub

base_int_t deeplima::CoNLLU::idx_t::_sub

Definition at line 33 of file line.h.


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