1 #ifndef __POSGEN_H__ // -*- tab-width: 2 mode: c++ -*-
17 std::vector
<uint
> pos
;
28 void init(uint len_
,uint n_
);
31 On each call, it fills pos with positions.
32 Notice that pos.size() may be larger than len.
33 But len is used instead pos.size().
35 bool step(std::vector
<uint
> &pos
,uint
&len
);
50 void init(const Sentence
&st
);
51 bool step(std::vector
<uint
> &pos
,uint
&len
);