How to use the pyserini.multithreading.ThreadSafeCount function in pyserini

To help you get started, we’ve selected a few pyserini examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github castorini / pyserini / pyserini / multithreading.py View on Github external
def __init__(self):
        self.indexable = ThreadSafeCount()
        self.unindexable = ThreadSafeCount()
        self.skipped = ThreadSafeCount()
        self.errors = ThreadSafeCount()
github castorini / pyserini / pyserini / multithreading.py View on Github external
def __init__(self):
        self.indexable = ThreadSafeCount()
        self.unindexable = ThreadSafeCount()
        self.skipped = ThreadSafeCount()
        self.errors = ThreadSafeCount()
github castorini / pyserini / pyserini / multithreading.py View on Github external
def __init__(self):
        self.indexable = ThreadSafeCount()
        self.unindexable = ThreadSafeCount()
        self.skipped = ThreadSafeCount()
        self.errors = ThreadSafeCount()
github castorini / pyserini / pyserini / multithreading.py View on Github external
def __init__(self):
        self.indexable = ThreadSafeCount()
        self.unindexable = ThreadSafeCount()
        self.skipped = ThreadSafeCount()
        self.errors = ThreadSafeCount()