Creates a function that accepts specified strings (or abbreviations thereof) and returns corresponding specified output.