creating topic parameters in python