The project focuses on translating natural language descriptions of linguistic phenomena to corpus search queries. We have made a survey and collected a golden standard dataset and we have created a synthetic parallel dataset of queries and natural descriptions. We have used prompting techniques and fine-tuning of Large Language Models to generate correct queries from a natural language description using Grammar-Constrained Decoding and without it. We would like to run some additional tests and submit the paper to ACL conference (A* star)