A framework for creating linguistic experiments