I have a config file like below
....
....
MIN_TOKENS='30 50' # can be a sequence of integers
STRIDE='2 0' # can be a sequence of integers
SIMILARITY='1.0 0.95' # can be a sequence of values <= 1
....
....
I need to edit the parameters to each of the above configurations(if needed) and test if the edited parameter suits my need by running my application. I need to automate this process using python script.
For example: I need to change the config file to something like
....
....
MIN_TOKENS='30 50'
STRIDE='2'
SIMILARITY='0.75'
....
....
and then run my application. However, the parameters should be automatically generated within range and I shouldn't manually feed them. I'm not familiar with python. Could someone tell me how to approach this.