LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
train_tag.cpp File Reference

Go to the source code of this file.

Classes

class  deeplima::tagging::train::UPosFeatExtractor< Token >
 

Namespaces

namespace  deeplima
 
namespace  deeplima::tagging
 
namespace  deeplima::tagging::train
 

Typedefs

typedef WordDictBuilderImpl< CoNLLU::WordLevelAdapter, deeplima::TokenStrFeatExtractor< CoNLLU::WordLevelAdapter::token_t > > deeplima::tagging::train::WordDictBuilderFromCoNLLU
 
typedef WordDictBuilderImpl< CoNLLU::WordLevelAdapter, ConlluFeatExtractor< CoNLLU::WordLevelAdapter::token_t > > deeplima::tagging::train::TagDictBuilderFromCoNLLU
 
typedef WordSeqVectorizerImpl< CoNLLU::WordLevelAdapter, deeplima::TokenStrFeatExtractor< CoNLLU::WordLevelAdapter::token_t >, deeplima::TokenUIntFeatExtractor< CoNLLU::WordLevelAdapter::token_t >, TorchMatrix< int64_t >, TorchMatrix< float > > deeplima::tagging::train::CoNLLUToTorchMatrix
 
typedef FastTextVectorizer< TorchMatrix< float > > deeplima::tagging::train::FastTextVectorizerToTorchMatrix
 

Functions

template<class M , class FeatExtractor >
std::shared_ptr< M > deeplima::tagging::train::vectorize_gold (const CoNLLU::Annotation &annot, const FeatExtractor &fe, const DictsHolder &tag_dh)
 
int deeplima::tagging::train::train_entity_tagger (const train_params_tagging_t &params)