Download tools/mosesdecoder/moses/Syntax/PVertex.h from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/Syntax/PVertex.h
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/moses/Syntax/PVertex.h
-
curl -L -o PVertex.h https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/moses/Syntax/PVertex.h
368 Bytes
| namespace Moses | |
| { | |
| namespace Syntax | |
| { | |
| struct PVertex { | |
| public: | |
| PVertex(const Range &wr, const Word &w) : span(wr), symbol(w) {} | |
| Range span; | |
| Word symbol; | |
| }; | |
| inline bool operator==(const PVertex &v, const PVertex &w) | |
| { | |
| return v.span == w.span && v.symbol == w.symbol; | |
| } | |
| } // Syntax | |
| } // Moses | |