added changes on checking similarity

This commit is contained in:
kicap1992
2022-03-21 00:07:28 +08:00
parent 638f0a9aee
commit 9da68fbc38
172 changed files with 99465 additions and 49 deletions

View File

@ -0,0 +1,8 @@
def haystackreducer(emissions):
"""
haystackreducer is a class responsible for reducing emissions
from multiple map processes. It tallies the number of matches
from key-value pairs emitted from each mapper
"""
return len(emissions)