Download mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h from suricodes/hindi-sindhi-docker: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/spaces/suricodes/hindi-sindhi-docker/resolve/main/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h
- Command line
-
hf download hf://spaces/suricodes/hindi-sindhi-docker/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h
-
curl -L -o LoaderHiero.h https://huggingface.co/spaces/suricodes/hindi-sindhi-docker/resolve/main/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h
687 Bytes
| // | |
| // RuleTableLoaderHiero.h | |
| // moses | |
| // | |
| // Created by Hieu Hoang on 04/11/2011. | |
| // Copyright 2011 __MyCompanyName__. All rights reserved. | |
| // | |
| namespace Moses | |
| { | |
| //! specific implementation of SCFG loader to load rule tables formatted in Hiero-style format | |
| class RuleTableLoaderHiero : public RuleTableLoaderStandard | |
| { | |
| public: | |
| bool Load(AllOptions const& opts, | |
| const std::vector<FactorType> &input, | |
| const std::vector<FactorType> &output, | |
| const std::string &inFile, | |
| size_t tableLimit, | |
| RuleTableTrie &); | |
| }; | |
| } | |