Download tools/mosesdecoder/moses/Syntax/SVertexStack.h from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/Syntax/SVertexStack.h
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/moses/Syntax/SVertexStack.h
-
curl -L -o SVertexStack.h https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/Syntax/SVertexStack.h
471 Bytes
| namespace Moses | |
| { | |
| namespace Syntax | |
| { | |
| typedef std::vector<boost::shared_ptr<SVertex> > SVertexStack; | |
| struct SVertexStackContentOrderer { | |
| public: | |
| bool operator()(const boost::shared_ptr<SVertex> &x, | |
| const boost::shared_ptr<SVertex> &y) { | |
| return x->best->label.futureScore > y->best->label.futureScore; | |
| } | |
| }; | |
| } // Syntax | |
| } // Moses | |