LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::utils Namespace Reference

Namespaces

namespace  backport
 

Functions

template<typename To , typename From >
To cast_to_signed (const From arg)
 
std::vector< std::string > split (const std::string &str, char delim)
 
std::vector< size_t > split_list_of_nums (const std::string &str, char delim)
 
template<class InputIt , class Pred >
std::string join (InputIt begin, InputIt end, Pred f)
 

Function Documentation

◆ cast_to_signed()

template<typename To , typename From >
To deeplima::utils::cast_to_signed ( const From  arg)
inline

Definition at line 18 of file secure_cast.h.

◆ join()

template<class InputIt , class Pred >
std::string deeplima::utils::join ( InputIt  begin,
InputIt  end,
Pred  f 
)
inline

Definition at line 64 of file split_string.h.

◆ split()

std::vector< std::string > deeplima::utils::split ( const std::string &  str,
char  delim 
)
inline

Definition at line 20 of file split_string.h.

◆ split_list_of_nums()

std::vector< size_t > deeplima::utils::split_list_of_nums ( const std::string &  str,
char  delim 
)
inline

Definition at line 35 of file split_string.h.