Use classifier results as fallback when linking proposed metadata

This commit is contained in:
Eike Kettner 2021-01-19 23:13:34 +01:00
parent 8455d1badf
commit 75573c905e

View File

@ -24,6 +24,7 @@ object LinkProposal {
.flatten(data.metas.map(_.proposals))
.filter(_.proposalType != MetaProposalType.DocDate)
.sortByWeights
.fillEmptyFrom(data.classifyProposals.getOrElse(MetaProposalList.empty))
ctx.logger.info(s"Starting linking proposals") *>
MetaProposalType.all