Files
bacaan_tulisan_arab/base/api/calltomapper.py
2022-03-21 00:07:28 +08:00

10 lines
422 B
Python

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)