def setUp(self): # Preparing data for unit test self.f = fastcat.FastCat(language="ru") self.f.load(progress_bar=False)
import fastcat f = fastcat.FastCat(language='pt') print(f.get_current_language()) # Initializes the redis database with Wiki data f.load(verbose=3) # Sample usage f.broader("Portugal") print('Done')