Cambridge SMT System
|
Creates FST replacement or not depending on conditions. More...
#include <task.hifst.replacefstbyarc.hpp>
Public Member Functions | |
ReplaceFstByArc (bool alignmode, std::size_t min_numstates=2) | |
fst::VectorFst< Arc > * | operator() (fst::VectorFst< Arc > const &fst, Label const &hieroindex) const |
Determines whether an FST is replaceable If so (NS > minns), then it builds the FST replacement and returns it. Otherwise returns NULL. More... | |
Creates FST replacement or not depending on conditions.
Definition at line 54 of file task.hifst.replacefstbyarc.hpp.
|
inline |
Definition at line 66 of file task.hifst.replacefstbyarc.hpp.
|
inline |
Determines whether an FST is replaceable If so (NS > minns), then it builds the FST replacement and returns it. Otherwise returns NULL.
fst | The fst candidate for replacing with a pointer arc |
hieroindex | Index for cc,x,y in the cyk grid cell |
Definition at line 78 of file task.hifst.replacefstbyarc.hpp.