Refactor running classifier in text analysis

This commit is contained in:
Eike Kettner
2021-01-19 21:30:02 +01:00
parent 99dcaae66b
commit 5c487ef7a9
5 changed files with 70 additions and 40 deletions

View File

@ -87,7 +87,7 @@ object MetaProposal {
}
}
/** Merges candidates with same `IdRef' values and concatenates their
/** Merges candidates with same `IdRef` values and concatenates their
* respective labels. The candidate order is preserved.
*/
def flatten(s: NonEmptyList[Candidate]): NonEmptyList[Candidate] = {