Download tools/mosesdecoder/mert/FileStream.h from Quagmire1/wiki-cased: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/mert/FileStream.h
- Command line
-
hf download hf://Quagmire1/wiki-cased/tools/mosesdecoder/mert/FileStream.h
-
curl -L -o FileStream.h https://huggingface.co/Quagmire1/wiki-cased/resolve/main/tools/mosesdecoder/mert/FileStream.h
437 Bytes
| class inputfilestream : public std::istream | |
| { | |
| protected: | |
| std::streambuf *m_streambuf; | |
| bool m_is_good; | |
| public: | |
| explicit inputfilestream(const std::string &filePath); | |
| virtual ~inputfilestream(); | |
| bool good() const { | |
| return m_is_good; | |
| } | |
| void close(); | |
| }; | |