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

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

Public Member Functions

 Treebank (const std::string &path)
 
const Document & get_doc (const std::string &name) const
 
const Annotation & get_annot (const std::string &name) const
 

Protected Member Functions

bool load (const std::string &path)
 

Protected Attributes

std::map< std::string, AnnotatedDocument > m_parts
 

Detailed Description

Definition at line 462 of file treebank.h.

Constructor & Destructor Documentation

◆ Treebank()

deeplima::CoNLLU::Treebank::Treebank ( const std::string &  path)
inlineexplicit

Definition at line 471 of file treebank.h.

Member Function Documentation

◆ get_annot()

const Annotation & deeplima::CoNLLU::Treebank::get_annot ( const std::string &  name) const
inline

Definition at line 489 of file treebank.h.

◆ get_doc()

const Document & deeplima::CoNLLU::Treebank::get_doc ( const std::string &  name) const
inline

Definition at line 479 of file treebank.h.

◆ load()

bool deeplima::CoNLLU::Treebank::load ( const std::string &  path)
protected

Definition at line 43 of file treebank.cpp.

Member Data Documentation

◆ m_parts

std::map<std::string, AnnotatedDocument> deeplima::CoNLLU::Treebank::m_parts
protected

Definition at line 502 of file treebank.h.


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