Download tools/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.cpp from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 784 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.cpp
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.cpp
-
curl -L -o LoaderHiero.cpp https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.cpp
784 Bytes
| // | |
| // RuleTableLoaderHiero.cpp | |
| // moses | |
| // | |
| // Created by Hieu Hoang on 04/11/2011. | |
| // Copyright 2011 __MyCompanyName__. All rights reserved. | |
| // | |
| using namespace std; | |
| namespace Moses | |
| { | |
| bool RuleTableLoaderHiero::Load(AllOptions const& opts, | |
| const std::vector<FactorType> &input, | |
| const std::vector<FactorType> &output, | |
| const std::string &inFile, | |
| size_t tableLimit, | |
| RuleTableTrie &ruleTable) | |
| { | |
| bool ret = RuleTableLoaderStandard::Load(opts, HieroFormat | |
| ,input, output | |
| ,inFile | |
| ,tableLimit | |
| ,ruleTable); | |
| return ret; | |
| } | |
| } | |