StochHMM
v0.34
Flexible Hidden Markov Model C++ Library and Application
|
#include "text.h"
Go to the source code of this file.
Namespaces | |
namespace | StochHMM |
traceback_path.h |
Functions | |
std::string | StochHMM::parseComment (std::string &txt, char commentChar) |
Find first comment character and then return everything following the character. | |
void | StochHMM::clear_whitespace (std::string &input, std::string white) |
void | StochHMM::removeLeadingWS (std::string &txt, const std::string &ws) |
void | StochHMM::getKeyValue (std::string &txt, std::string &key, std::string &value) |
stringList & | StochHMM::splitString (const std::string &txt, const std::string &delimiters) |
Splits string using delimiters and return stringList. | |
void | StochHMM::replaceChar (std::string &txt, char ch, char replaceCh) |
std::string | StochHMM::join (std::vector< int > &input, char c) |
std::string | StochHMM::join (std::vector< size_t > &input, char c) |
std::string | StochHMM::int_to_string (int input) |
std::string | StochHMM::int_to_string (size_t input) |
std::string | StochHMM::double_to_string (double input) |
std::string | StochHMM::double_to_string (float input) |
bool | StochHMM::stringToInt (std::string &txt, int &val) |
bool | StochHMM::stringToInt (std::string &txt, size_t &val) |
bool | StochHMM::stringToDouble (std::string &txt, double &val) |
std::string | StochHMM::join (std::vector< short > &input, char c) |
std::string | StochHMM::join (std::vector< double > &input, char c) |
std::string | StochHMM::join (std::vector< std::string > &input, char c) |
void | StochHMM::split_line (std::vector< std::string > &line, std::string &input) |
stringList | StochHMM::extractTag (std::string &txt) |
std::pair< size_t, size_t > | StochHMM::balanced_brackets (const std::string &text, const std::string &brackets, size_t offset) |
std::pair< size_t, size_t > | StochHMM::balanced_brackets (const std::string &text, const std::string &brackets) |
bool | StochHMM::isNumeric (const std::string &str) |
std::string | StochHMM::slurpFile (std::string &file) |