Hello, Puzzlers! Another Sunday, another Sunday Puzzle from NPR Puzzlemaster Will Shortz:
This week's challenge: This week's challenge comes from listener Chad Graham, of Philadelphia. Think of a common Britishism — a word that the British use that's not common in the U.S. Write it in all capital letters. Turn it upside-down (that is, rotate it 180 degrees). The result is a famous hero of books and movies. Who is it?
Let's begin with our usual breakdown of the puzzle. Note that it's a variation on the most common type of puzzle we see here: transform_fx(string1) = string2. In other words, we are solving for string1 and string2, where applying some transformation to string1 yields string2. In this case, we have some general "class" information about the two strings, as well as a defined transformation function. Note that the "rotate 180 degrees" part of this puzzle also occurred in a puzzle we solved just this June. However, in that case, we were rotating letter by letter, but this time, we're rotating the whole word. When we rotate a whole word, the last letter becomes the first letter (upside-down now), and vice versa. We can account for this in our solver script by reversing the order of the letters, then using our dictionary to rotate each letter in place.
As usual with this kind of puzzle, we'll want to start with a long list of candidates for string1 and a long list of candidates for string2. We'll iterate through the first list, applying the transformation to each string and checking if the resulting string appears in the second list.
So what do we need for this puzzle?
- B: a list of "Britishisms";
- H: a list of heroes from books and movies;
- R180: A dictionary mapping of capital letters that can be rotated 180 degrees to form a new letter, e.g., {'M': 'W', ...};
- Find/assemble a large corpus of British English;
- It could be a challenge to find a corpus for both written (e.g., newspaper) and spoken or vernacular English that contains exclusively British English;
- Find/assemble a large corpus of American English;
- Same challenge here;
- Calculate the relative frequency of each word type in the British corpus;
- Calculate the relative frequency of each word type in the American corpus;
- For each word type in the British corpus, keep the word if it is significantly more frequent in the British corpus than in the American corpus;
- This would take some trial and error to determine just how large the difference in frequency should be;
No comments:
Post a Comment