def cacheMetadata(corpusNames=('local',)): ''' Rebuild the metadata cache. ''' if not common.isListLike(corpusNames): corpusNames = [corpusNames] for name in corpusNames: corpora.Corpus._metadataBundles[name] = None metadata.cacheMetadata(corpusNames)
def cacheMetadata(corpusNames=('local', )): ''' Rebuild the metadata cache. ''' if not common.isListLike(corpusNames): corpusNames = [corpusNames] for name in corpusNames: corpora.Corpus._metadataBundles[name] = None metadata.cacheMetadata(corpusNames)
def cacheMetadata(corpusNames=('local',), verbose=True): ''' Rebuild the metadata cache. ''' if not common.isIterable(corpusNames): corpusNames = [corpusNames] for name in corpusNames: corpora.Corpus._metadataBundles[name] = None metadata.cacheMetadata(corpusNames, verbose=verbose)
def cacheMetadata(corpusNames=('local', ), verbose=True): ''' Rebuild the metadata cache. ''' if not common.isIterable(corpusNames): corpusNames = [corpusNames] for name in corpusNames: corpora.Corpus._metadataBundles[name] = None metadata.cacheMetadata(corpusNames, verbose=verbose)