Download mosesdecoder/moses2/PhraseBased/InputPath.h from sleepyhead111/vllm_fairseq: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses2/PhraseBased/InputPath.h
- Command line
-
hf download hf://sleepyhead111/vllm_fairseq/mosesdecoder/moses2/PhraseBased/InputPath.h
-
curl -L -o InputPath.h https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/moses2/PhraseBased/InputPath.h
787 Bytes
| /* | |
| * InputPath.h | |
| * | |
| * Created on: 23 Oct 2015 | |
| * Author: hieu | |
| */ | |
| namespace Moses2 | |
| { | |
| class TargetPhrases; | |
| class InputPath: public InputPathBase | |
| { | |
| public: | |
| const TargetPhrases** targetPhrases; | |
| SubPhrase<Moses2::Word> subPhrase; | |
| InputPath(MemPool &pool, const SubPhrase<Moses2::Word> &subPhrase, const Range &range, | |
| size_t numPt, const InputPath *prefixPath); | |
| virtual ~InputPath(); | |
| void AddTargetPhrases(const PhraseTable &pt, const TargetPhrases *tps); | |
| const TargetPhrases *GetTargetPhrases(const PhraseTable &pt) const; | |
| size_t GetNumRules() const { | |
| return m_numRules; | |
| } | |
| std::string Debug(const System &system) const; | |
| protected: | |
| size_t m_numRules; | |
| }; | |
| } | |