|
Frog
|
#include <FrogAPI.h>
Public Member Functions | |
| FrogAPI (FrogOptions &, const TiCC::Configuration &, TiCC::LogStream *, TiCC::LogStream *) | |
| ~FrogAPI () | |
| folia::Document * | FrogFile (const std::string &, std::ostream &) |
| void | FrogServer (Sockets::ClientSocket &conn) |
| void | FrogInteractive () |
| frog_data | frog_sentence (std::vector< Tokenizer::Token > &, const size_t) |
| std::string | Frogtostring (const std::string &) |
| std::string | Frogtostringfromfile (const std::string &) |
| void | run_api_tests (const std::string &, std::ostream &) |
Static Public Member Functions | |
| static std::string | defaultConfigDir (const std::string &="") |
| static std::string | defaultConfigFile (const std::string &="") |
This is the API class which can be used to set up Frog and run it on files, strings, TCP sockets or a terminal.
| FrogAPI::FrogAPI | ( | FrogOptions & | , |
| const TiCC::Configuration & | , | ||
| TiCC::LogStream * | , | ||
| TiCC::LogStream * | |||
| ) |
| FrogAPI::~FrogAPI | ( | ) |
|
static |
return the default location of the configuration files
| language | use this to find the configuration for this language |
The location of the configuration files is determined at installation of the package. All languages are supposed to be in sub-directories
|
static |
return the filename for the default configuration
| language | use this to find the configuration for this language |
The location of the configuration files is determined at installation of the package. All languages are supposed to be in sub-directories
| frog_data FrogAPI::frog_sentence | ( | std::vector< Tokenizer::Token > & | , |
| const | size_t | ||
| ) |
| folia::Document* FrogAPI::FrogFile | ( | const std::string & | , |
| std::ostream & | |||
| ) |
| void FrogAPI::FrogInteractive | ( | ) |
| void FrogAPI::FrogServer | ( | Sockets::ClientSocket & | conn | ) |
| std::string FrogAPI::Frogtostring | ( | const std::string & | ) |
| std::string FrogAPI::Frogtostringfromfile | ( | const std::string & | ) |
| void FrogAPI::run_api_tests | ( | const std::string & | , |
| std::ostream & | |||
| ) |
1.8.17