Download tools/mosesdecoder/moses2/server/Server.h from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 605 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses2/server/Server.h
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/moses2/server/Server.h
-
curl -L -o Server.h https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses2/server/Server.h
605 Bytes
| /* | |
| * Server.h | |
| * | |
| * Created on: 1 Apr 2016 | |
| * Author: hieu | |
| */ | |
| namespace Moses2 | |
| { | |
| class System; | |
| class ServerOptions; | |
| class Manager; | |
| class Server | |
| { | |
| public: | |
| Server(ServerOptions &server_options, System &system); | |
| virtual ~Server(); | |
| void run(System &system); | |
| ServerOptions const& | |
| options() const; | |
| protected: | |
| ServerOptions &m_server_options; | |
| std::string m_pidfile; | |
| xmlrpc_c::registry m_registry; | |
| xmlrpc_c::methodPtr const m_translator; | |
| }; | |
| } /* namespace Moses2 */ | |