![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <deeplima/segmentation/impl/segmentation_wrapper.h>
Public Member Functions | |
| SegmentationInferenceWrapper () | |
| void | load (const std::string &fn) |
| size_t | init_new_worker (size_t input_len, bool precomputed_input=false) |
| void | predict (size_t worker_id, const typename M::tensor_t &inputs, int64_t input_begin, int64_t input_end, int64_t output_begin, int64_t output_end, std::shared_ptr< StdMatrix< uint8_t > > &output, const std::vector< size_t > &, const std::vector< std::string > &output_names) |
| const std::vector< ngram_descr_t > & | get_ngram_descr () const |
| const M::dicts_holder_t & | get_dicts () const |
| const std::vector< std::string > & | get_output_str_dicts_names () const |
| const std::vector< std::vector< std::string > > & | get_output_str_dicts () const |
Protected Attributes | |
| M | m_impl |
Definition at line 24 of file segmentation_wrapper.h.
|
inline |
Definition at line 27 of file segmentation_wrapper.h.
|
inline |
Definition at line 65 of file segmentation_wrapper.h.
|
inline |
Definition at line 60 of file segmentation_wrapper.h.
|
inline |
Definition at line 75 of file segmentation_wrapper.h.
|
inline |
Definition at line 70 of file segmentation_wrapper.h.
|
inline |
Definition at line 36 of file segmentation_wrapper.h.
|
inline |
Definition at line 31 of file segmentation_wrapper.h.
|
inline |
Definition at line 41 of file segmentation_wrapper.h.
|
protected |
Definition at line 82 of file segmentation_wrapper.h.