nltk.LazyMap.__init__

LazyMap.__init__(function, *lists, **config)[source]
Parameters:
  • function – The function that should be applied to elements of lists. It should take as many arguments as there are lists.
  • lists – The underlying lists.
  • cache_size – Determines the size of the cache used by this lazy map. (default=5)