@abstractmethod
- def update_statistics(self) -> None:
+ def update_statistics(self, config: Configuration, threads: int = 1) -> None:
""" Recompute any tokenizer statistics necessary for efficient lookup.
This function is meant to be called from time to time by the user
to improve performance. However, the tokenizer must not depend on
Arguments:
conn: Open connection to the database which may be used to
- retrive the words.
+ retrieve the words.
num: Maximum number of words to return.
"""