def FromCard(card, vocab, min_period, max_period, logger): meta = Metadata.loads(card) return Reader(meta, vocab, min_period, max_period, logger)