10 #ifndef META_SEQUENCE_TRELLIS_H_
11 #define META_SEQUENCE_TRELLIS_H_
14 #include <unordered_map>
47 uint64_t
size()
const;
56 void probability(uint64_t idx,
const label_id& tag,
double prob);
65 double probability(uint64_t idx,
const label_id& tag)
const;
132 void previous_tag(uint64_t idx,
const label_id& current,
133 const label_id& previous);
140 const label_id&
previous_tag(uint64_t idx,
const label_id& current)
const;