mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 05:14:36 +03:00
Adapted to configurable map type in pstats.
This commit is contained in:
parent
794defa238
commit
20aa9dd189
@ -53,7 +53,7 @@ nbest_phrasepairs(uint64_t const pid1,
|
|||||||
pstats const& ps,
|
pstats const& ps,
|
||||||
vector<PhrasePair> & nbest)
|
vector<PhrasePair> & nbest)
|
||||||
{
|
{
|
||||||
boost::unordered_map<uint64_t,jstats>::const_iterator m;
|
pstats::trg_map_t::const_iterator m;
|
||||||
vector<size_t> idx(nbest.size());
|
vector<size_t> idx(nbest.size());
|
||||||
size_t i=0;
|
size_t i=0;
|
||||||
for (m = ps.trg.begin();
|
for (m = ps.trg.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user