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

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

Classes

struct  sentence_t
 

Public Member Functions

 CoNLLUFile ()
 
 CoNLLUFile (const std::string &filename)
 
void load (const std::string &filename)
 
void save (const std::string &filename, bool force=false)
 TODO implement the force parameter.
 

Protected Attributes

std::vector< CoNLLULine > _lines
 
std::vector< sentence_t > _sentences
 

Detailed Description

Definition at line 15 of file file.h.

Constructor & Destructor Documentation

◆ CoNLLUFile() [1/2]

deeplima::CoNLLU::CoNLLUFile::CoNLLUFile ( )
inline

Definition at line 18 of file file.h.

◆ CoNLLUFile() [2/2]

deeplima::CoNLLU::CoNLLUFile::CoNLLUFile ( const std::string &  filename)
inlineexplicit

Definition at line 19 of file file.h.

Member Function Documentation

◆ load()

void deeplima::CoNLLU::CoNLLUFile::load ( const std::string &  filename)

Definition at line 16 of file file.cpp.

◆ save()

void deeplima::CoNLLU::CoNLLUFile::save ( const std::string &  filename,
bool  force = false 
)

TODO implement the force parameter.

Definition at line 35 of file file.cpp.

Member Data Documentation

◆ _lines

std::vector<CoNLLULine> deeplima::CoNLLU::CoNLLUFile::_lines
protected

Definition at line 40 of file file.h.

◆ _sentences

std::vector<sentence_t> deeplima::CoNLLU::CoNLLUFile::_sentences
protected

Definition at line 41 of file file.h.


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