/*************************************************************************/ /* Copyright (c) 2012, 2013 Linas Vepstas */ /* All rights reserved */ /* */ /* Use of the Viterbi parsing system is subject to the terms of the */ /* license set forth in the LICENSE file included with this software. */ /* This license allows free redistribution and use in source and binary */ /* forms, with or without modification, subject to certain conditions. */ /* */ /*************************************************************************/ #ifndef _LG_VITERBI_WORD_MONAD_H #define _LG_VITERBI_WORD_MONAD_H #include "atom.h" #include "compile.h" #include "garbage.h" namespace link_grammar { namespace viterbi { class WordMonad : public gc { public: WordMonad(WordCset*); Set* operator()(Set*); private: WordCset* _right_cset; }; } // namespace viterbi } // namespace link-grammar #endif // _LG_VITERBI_WORD_MONAD_H