Corpus components#

SynthTIGER Copyright (c) 2021-present NAVER Corp. MIT license

class synthtiger.components.corpus.BaseCorpus(paths=(), weights=(), min_length=None, max_length=None, charset=None, textcase=None)#
sample(meta=None)#
data(meta)#
class synthtiger.components.corpus.CharAugmentableCorpus(paths=(), weights=(), min_length=None, max_length=None, charset=None, textcase=None, augmentation=0, augmentation_charset=None)#
class synthtiger.components.corpus.LengthAugmentableCorpus(paths=(), weights=(), min_length=None, max_length=None, charset=None, textcase=None, augmentation=0, augmentation_length=(1, 25))#