Tuning of parser with help of scenarios