![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <deeplima/feat_extractors.h>
Public Member Functions | |
| ConlluFeatExtractor ()=default | |
| ConlluFeatExtractor (const ConlluFeatExtractor &other)=default | |
| ConlluFeatExtractor (const std::string &feats_to_train) | |
| void | preprocess (const Token &token) |
| size_t | get_feat_id (const std::string &name) const |
| std::string | feat_value (const Token &token, int feat_no) const |
| bool | should_preprocess_feature (int feat_no) const |
| size_t | size () const |
| std::vector< std::string > | feats () const |
Static Public Member Functions | |
| static bool | needs_preprocessing () |
Protected Member Functions | |
| void | add_feature (const std::string &name) |
Protected Attributes | |
| std::vector< std::string > | m_idx2feat |
| std::unordered_map< std::string, size_t > | m_feat2idx |
| std::unordered_set< std::string > | m_prohibited_feats |
| std::unordered_set< int > | m_dont_preprocess |
| int | m_form = -1 |
| int | m_form_lc = -1 |
| int | m_upos = -1 |
| int | m_xpos = -1 |
| int | m_eos = -1 |
| int | m_rel = -1 |
| bool | m_feats = false |
Definition at line 160 of file feat_extractors.h.
|
default |
|
default |
|
inline |
Definition at line 187 of file feat_extractors.h.
|
inlineprotected |
Definition at line 175 of file feat_extractors.h.
|
inline |
Definition at line 287 of file feat_extractors.h.
|
inline |
Definition at line 343 of file feat_extractors.h.
|
inline |
Definition at line 277 of file feat_extractors.h.
|
inlinestatic |
Definition at line 253 of file feat_extractors.h.
|
inline |
Definition at line 258 of file feat_extractors.h.
|
inline |
Definition at line 333 of file feat_extractors.h.
|
inline |
Definition at line 338 of file feat_extractors.h.
|
protected |
Definition at line 166 of file feat_extractors.h.
|
protected |
Definition at line 171 of file feat_extractors.h.
|
protected |
Definition at line 164 of file feat_extractors.h.
|
protected |
Definition at line 173 of file feat_extractors.h.
|
protected |
Definition at line 167 of file feat_extractors.h.
|
protected |
Definition at line 168 of file feat_extractors.h.
|
protected |
Definition at line 163 of file feat_extractors.h.
|
protected |
Definition at line 165 of file feat_extractors.h.
|
protected |
Definition at line 172 of file feat_extractors.h.
|
protected |
Definition at line 169 of file feat_extractors.h.
|
protected |
Definition at line 170 of file feat_extractors.h.