ZGen
0.2.0
a linearization system for natural language.
|
Classes | |
struct | DecodeContext |
Used to maintain the memory cache used by the decoder. More... | |
class | Decoder |
class | FullDecoder |
class | NoneDecoder |
class | PartialDecoder |
class | Learner |
class | Model |
struct | UnigramScore |
struct | BigramScore |
struct | TrigramScore |
struct | ScoreContext |
class | ScoreMap |
struct | Option |
class | Pipe |
class | Action |
class | ActionUtils |
class | StateItem |
Typedefs | |
typedef UnigramScore | us_t |
typedef BigramScore | bs_t |
typedef TrigramScore | ts_t |
typedef ScoreContext | ctx_t |
typedef Option | option_t |
typedef Action | action_t |
typedef std::vector< action_t > | action_collection_t |
typedef std::vector< action_t > | action_sequence_t |
a list of actions; More... | |
typedef boost::unordered_map < action_t, floatval_t > | packed_score_t |
also a list of actions; More... | |
typedef boost::tuples::tuple < const StateItem *, action_t, floatval_t > | scored_transition_t |
Functions | |
std::ostream & | operator<< (std::ostream &os, const StateItem &item) |
Variables | |
const int | kNoneWord = eg::WordAlphabet::NONE |
const int | kNonePostag = eg::PennTreebankPostagAlphabet::NONE |
const int | kNoneDeprel = eg::PennTreebankDeprelAlphabet::NONE |
const int | kMaxBeamSize = 128 |
const int | kMaxSteps = 180* 2 |
typedef std::vector<action_t> ZGen::ShiftReduce::action_collection_t |
typedef std::vector<action_t> ZGen::ShiftReduce::action_sequence_t |
a list of actions;
typedef Action ZGen::ShiftReduce::action_t |
typedef BigramScore ZGen::ShiftReduce::bs_t |
typedef ScoreContext ZGen::ShiftReduce::ctx_t |
typedef Option ZGen::ShiftReduce::option_t |
typedef boost::unordered_map<action_t, floatval_t> ZGen::ShiftReduce::packed_score_t |
also a list of actions;
typedef boost::tuples::tuple<const StateItem*, action_t, floatval_t> ZGen::ShiftReduce::scored_transition_t |
typedef TrigramScore ZGen::ShiftReduce::ts_t |
typedef UnigramScore ZGen::ShiftReduce::us_t |
std::ostream& ZGen::ShiftReduce::operator<< | ( | std::ostream & | os, |
const StateItem & | item | ||
) |
const int ZGen::ShiftReduce::kMaxBeamSize = 128 |
const int ZGen::ShiftReduce::kMaxSteps = 180* 2 |
const int ZGen::ShiftReduce::kNoneDeprel = eg::PennTreebankDeprelAlphabet::NONE |
const int ZGen::ShiftReduce::kNonePostag = eg::PennTreebankPostagAlphabet::NONE |
const int ZGen::ShiftReduce::kNoneWord = eg::WordAlphabet::NONE |