#include </home/runner/work/lima/lima/deeplima/libs/conllu/treebank.h>
Definition at line 84 of file treebank.h.
◆ tokens_const_iterator
◆ words_const_iterator
◆ Annotation()
| deeplima::CoNLLU::Annotation::Annotation |
( |
| ) |
|
|
inline |
◆ get_line()
| const CoNLLULine & deeplima::CoNLLU::Annotation::get_line |
( |
size_t |
line_idx | ) |
const |
|
inline |
◆ get_num_sentences()
| size_t deeplima::CoNLLU::Annotation::get_num_sentences |
( |
| ) |
const |
|
inline |
◆ get_sentence()
| const Sentence & deeplima::CoNLLU::Annotation::get_sentence |
( |
size_t |
idx | ) |
const |
◆ get_tokens()
| const std::vector< token_t > & deeplima::CoNLLU::Annotation::get_tokens |
( |
| ) |
const |
|
inline |
◆ get_words()
| const std::vector< word_t > & deeplima::CoNLLU::Annotation::get_words |
( |
| ) |
const |
|
inline |
◆ load() [1/2]
| void deeplima::CoNLLU::Annotation::load |
( |
const std::string & |
fn | ) |
|
◆ load() [2/2]
| void deeplima::CoNLLU::Annotation::load |
( |
std::istream & |
input | ) |
|
◆ rebuild_structure()
| void deeplima::CoNLLU::Annotation::rebuild_structure |
( |
size_t |
num_sentences, |
|
|
size_t |
num_tokens, |
|
|
size_t |
num_words |
|
) |
| |
|
protected |
◆ test_structure()
| bool deeplima::CoNLLU::Annotation::test_structure |
( |
| ) |
const |
|
protected |
◆ tokens_begin()
◆ tokens_end()
◆ words()
| const std::vector< word_t > & deeplima::CoNLLU::Annotation::words |
( |
| ) |
const |
|
inline |
◆ words_begin()
◆ words_end()
◆ Treebank
◆ m_lines
| std::vector<CoNLLULine> deeplima::CoNLLU::Annotation::m_lines |
|
protected |
◆ m_pdoc
| Document* deeplima::CoNLLU::Annotation::m_pdoc |
|
protected |
◆ m_sentences
| std::vector<Sentence> deeplima::CoNLLU::Annotation::m_sentences |
|
protected |
◆ m_tokens
| std::vector<token_t> deeplima::CoNLLU::Annotation::m_tokens |
|
protected |
◆ m_words
| std::vector<word_t> deeplima::CoNLLU::Annotation::m_words |
|
protected |
The documentation for this class was generated from the following files: