added changes on checking similarity
This commit is contained in:
10
base/api/calltomapper.py
Normal file
10
base/api/calltomapper.py
Normal file
@ -0,0 +1,10 @@
|
||||
from .haystackmapper import mapper
|
||||
|
||||
def calltomapper(haystacks, needle, processnumber, totalprocesses, return_emissions):
|
||||
|
||||
""" calltomapper is a target function of a process from interface
|
||||
which in turn calls the method haystackmap.mapper with argument needle """
|
||||
|
||||
print("Finished with process ", processnumber, " word(sample) size of ",len(needle))
|
||||
|
||||
return_emissions += mapper(haystacks, needle)
|
||||
Reference in New Issue
Block a user