Naclo 2013 Round 1 Questions
Naclo 2013 Round 1 Questions
Naclo 2013 Round 1 Questions
The Seventh
Annual
North American
Computational
Linguistics
Olympiad
2013
www.naclo.cs.cmu.edu
Open Round
January 31, 2013
The North American Computational Linguistics Olympiad
www.naclo.cs.cmu.edu
Contest Booklet
REGISTRATION NUMBER
Name: ___________________________________________
Grade: ______
Please also make sure to write your registration number and your name on each page that you
turn in.
SIGN YOUR NAME BELOW TO CONFIRM THAT YOU WILL NOT DISCUSS THESE PROBLEMS
WITH ANYONE UNTIL THEY HAVE BEEN OFFICIALLY POSTED ON THE NACLO WEBSITE IN
LATE MARCH.
Signature: __________________________________________________
Do not scan this page
Rules
1. The contest is three hours long and includes eight problems, labeled A to H.
2. Follow the facilitators' instructions carefully.
3. If you want clarification on any of the problems, talk to a facilitator. The facilitator
will consult with the jury before answering.
4. You may not discuss the problems with anyone except as described in items 3 & 12.
5. Each problem is worth a specified number of points, with a total of 100 points.
In this year’s open round, no points will be given for explanations. Instead, make
sure to fill out all the answer boxes properly.
6. We will grade only work in this booklet. All your answers should be in the spaces
provided in this booklet. DO NOT WRITE ON THE BACK OF THE PAGES.
7. Write your name and registration number on each page:
Here is an example: Jessica Sawyer #850
8. The top 100 participants (approximately) across the continent in the open round
will be invited to the second round.
9. Each problem has been thoroughly checked by linguists and computer scientists as
well as students like you for clarity, accuracy, and solvability. Some problems are
more difficult than others, but all can be solved using ordinary reasoning and some
basic analytic skills. You don’t need to know anything about linguistics or about
these languages in order to solve them.
10. If we have done our job well, very few people will solve all these problems com-
pletely in the time allotted. So, don’t be discouraged if you don’t finish everything.
11. If you have any comments, suggestions or complaints about the competition, we
ask you to remember these for the web-based evaluation. We will send you an e-
mail shortly after the competition is finished with instructions on how to fill it out.
12. DO NOT DISCUSS THE PROBLEMS UNTIL THEY HAVE BEEN POSTED
ONLINE! THIS MAY BE SEVERAL WEEKS AFTER THE END OF THE CON-
TEST.
Oh, and have fun!
Do not scan this page
Problem Credits:
Problem A: Harold Somers
Problem B: Babette Verhoeven
Problem C: John DeNero
Problem D: Patrick Littell
Problem E: Babette Verhoeven
Problem F: Andrea Schalley and Patrick Littell
Problem G: Harold Somers
Problem H: Jason Eisner
Do not scan this page
US Team Coaches:
Dragomir Radev, University of Michigan (head coach)
Lori Levin, Carnegie Mellon University (coach)
CANADA
Dalhousie University: Magdalena Jankowska, Vlado Keselj, Armin Sajadi
McGill University: Michael Wagner
Simon Fraser University: Maite Taboada, John Alderete
University of Lethbridge: Yllias Chali
University of Toronto: Qin Long
Booklet Editors:
Andrew Lamont: Eastern Michigan University
Dragomir Radev: University of Michigan
Sponsorship Chair:
James Pustejovsky: Brandeis University
All material in this booklet © 2013, North American Computational Linguistics Olympiad and the authors of
the individual problems. Please do not copy or distribute without permission.
Do not scan this page
One area of Canada where Inuit is spoken is called Nunavut and its capital is Iqaluit. Here is how these two
words are written:
Nunavut kNK5
Iqaluit wclw5
English has borrowed some words from the Inuit, such as ‘igloo’ which in Inuktitut is written as wL and is
pronounced ‘ihlu’: the ‘hl’ is a lateral fricative, like the LL sound in Welsh, a bit like an ‘s’ combined with an
‘l’.1 The ‘hl’ is treated as a single sound.
Your task is to look at the text below – it’s the first part of the Universal Declaration of Human Rights – and
to transcribe the underlined words into Roman letters on the basis of the first four words which have been
done for you.
A.
vg0ppsJ5
B.
W}bDtc3ymisif
C.
ra9}E4Lt4
D.
m4W6gCos3ymK5
E.
Wd/oxamif
F.
sco}mZosMs3ym1mb
G.
w4J6gwFsJi
H.
s=?}l8}i5
YOUR NAME: REGISTRATION #
D. umiaq ‘canoe’
A3. Finally, can you identify the English word borrowed from Inuktitut in A, and identify the place names in B
and C? Enter the English word, one letter in each cell.
A. (a form of transport)
c/6
B.
vNb
C.
xM{v
2
You may have heard that the Inuit (or Eskimos) have lots of different words for ‘snow’. In fact this is a kind of urban legend. Inukti-
tut has two main words for ‘snow’ although lots of shades of meaning can be expressed by adding endings – you will have noticed
that Inuktitut words are very long.
Do not scan this page
Pali is a highly inflected language, which means that the main words such as nouns and verbs get a range of
endings (called “suffixes”) or beginnings (called “prefixes”) attached to make it clear what role the word is
playing in the sentence.
English also has some inflections, just not as many as Pali. Here are some examples of English inflections:
house – houses. The –s added to the end of a noun like “house” indicates that there is more than one you
are talking about.
I walk. You walked. He walks. She has been walking. The suffixes added to the verb “walk” give you sense of
a different person doing the walking, or the walking taking place at a different time – the past as opposed
to the present.
Pali has different consonant and vowel sounds, which explains the use of diacritics (special symbols) on partic-
ular letters. These do not matter for solving this puzzle. Also, Pali texts do not use capital letters or punctua-
tion.
B2. Translate the following into English, using the vocabulary given here in its dictionary form (which is the
same as the subject form, without any suffixes):
Pali English Translation
rājo king
devo god
gāmo village
1. rājo nisīdati
B3. Translate the following into Pali, entering one letter in each box, ignoring the diacritics:
When Deb gets mad, she sends her friend Ahab encoded messages using lines of pennies, each of which is
either heads up (H) or tails up (T). Example:
THHHTHTT HTTTTHTHH
Deb also sends a decoding tree, which indicates how to read the message encoded by the pennies. A decod-
ing tree starts with two branches, marked (H)eads and (T)ails. Each branch either leads to a letter in the
message or another decoding tree. This type of tree is called a Huffman encoding tree, based on the name of
its inventor.
Pennies are read from left to right, and each penny indicates which branch of the decoding tree to follow.
Whenever a letter is reached, the next letter is decoded starting back at the top of the decoding tree. For
example, the message above reads "BAD AHAB", where individual letters are placed in boxes below:
B A D A H A B
THH H THTT H TTTT H THH
C1. Decode the following messages using the decoding tree shown above:
A. TTTTTTHHTTHTTTHHTHTTTHHTTHHTTHHTTHT
B. HTHTHHTTTHTTHHTHTTTHHTTHHTHTT
YOUR NAME: REGISTRATION #
C2. The following English word from Deb is missing a penny somewhere in the middle. Mark the location
and orientation (heads or tails) of the missing penny and decode the message.
TTTTTTHHTHTTTTHHTHTT
C3. Deb doesn't want to spend all of her allowance on messages. Design an encoding tree and write the cor-
responding encoding for each letter below, such that the encoding requires as few pennies as possible, but
still correctly encodes the messages. Assume that the message only contains the letters in the example (e.g.,
MISP in the first example and ABCDR in the second one). In a Huffman encoding, the encoding of a letter
cannot begin with the encoding of another letter. So, for instance, if some letter is encoded as H, then anoth-
er one cannot be encoded as HT. In fact, if some letter is encoded as H, then the encoding for any other let-
ter must start with T.
The two examples below are independent. There may be more than one optimal encoding per example. You
only need to show one of them.
ABRACADABRA
Letter Code
A
B
C
D
R
Total number of coins: __________
Do not scan this page
G X T A Y A Y A G A Y U
Y I DL A X P’ U G D TL A Y
’L GW D U K’ I KW A DL I K’ A
B A K A Y U GW Y T’S DZ I B
K’ T’S ’M A KW A L A S K’ N I
K I DL A T’S I B XW Y T’L U L
Y ’M K’W I P’ A U A T’ U XW I
KW G A I T’S N Y S ’L B U XW
X TS N L I P A A A TS K U
D U K’ T’ T’S L GW I G XW A N
XW S A L A K A Y A A ’M I
A Ḵ A ’L M U I I A A U I
A T’S KW DZ A ’L X TS P T’ K’ K
KW A K I TL A GW A K M A TL
YOUR NAME: REGISTRATION #
an iron
berry cakes ’L A G A KW
bowl for candlefish oil
broom X I GW A Y U
deck of cards L I B A Y U
dustpan
envelope
expert card player
expert knitter
fisherman K I T’L I N U XW
fishing boat
food for dipping in oil T’S A P A L A S
knitting basket Y A G A T’S I
knitting needles
letter K’ A D A KW
pen or pencil
something knitted, such as a sweater
to be proud, to be a snob TL A M K A
to catch fish with a net
to dip food in candlefish oil
to iron something ’M A KW A
to knit
to make berry cakes
to play cards
to sweep
to write K’ A T A
tourist boat, cruise ship, ferry
wool
wrinkled clothes
writer
YOUR NAME: REGISTRATION #
An infamous example of English pronunciation being at odds with its use of the Roman alphabet is the se-
quence –ough. Consider the different pronunciations of ough in the following words: rough, through, hiccough,
though, and bough. This should give you an idea why a spelling reform may be needed.
Shaw left money in his will to the inventor of a new (and better) script for English. Kingsley Read, among
many others, entered the competition, and his alphabet was chosen as the best response to Shaw’s challenge
in 1958. Read named his invention the “Shavian Alphabet” in honor of Shaw.
The majority of its characters simply represent an individual English sound. However, a few can be used
as abbreviations for a word.
Shavian is based on a Rhotic English accent – an accent in which all the r symbols are pronounced (such
as American English where the word “rarer” is pronounced with 3 r-sounds).
E1. On the left below are some phrases rendered in Shavian, while on the right are their transliterations in
the Roman alphabet, except they have been reordered. Work out which Roman transliterations match the
Shavian phrases.
3. C. to learn
4. · D. we have cats
5. E. for ever
1
Pygmalion is about a linguistics professor trying to correct the pronunciation of a Cockney flower seller called Eliza (Cockney being
a dialect of British English used by Dick van Dyke in Mary Poppins). One of the first artificial intelligence programs, a chatbot, was
named Eliza, after the character in Pygmalion.
YOUR NAME: REGISTRATION #
Eve
Ian
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49
You may have noticed that Shavian has characters that are like the Roman alphabet’s ascenders (letters that
stick out in an upwards direction from the line of writing such as “f” and “h”) and descenders (letters that go
below the line of writing such as “g”). Ascenders are known as “tall characters” and descenders as “deep
characters” in Shavian. Some tall and deep characters make deliberate pairs, such as:
and
and
E3. Work out what sounds the symbols in the pairings above represent. How would you write this sound
using the Roman alphabet?
E4. What is the Shavian symbol for “b” (enter the code):
Do not scan this page
Each rule says that the element to the left of the arrow can be expanded into the elements to the right of the
arrow. By repeatedly replacing symbols, this CFG can expand the symbol S into “squirrels sing”, “children
sing”, “squirrels eat”, and “children eat”. It cannot, however, generate “children eat squirrels” or “squirrels
eat children” or just “children” – you can see that there is no possible sequence of replacements that turns S
into any of these.
The following is another simple CFG. The rules have been numbered for your convenience, but the numbers
are not part of the rules.
1. S → NP VP 2. VP → VP PP 3. PP → P 4. IV → runs
5. NP → N 6. VP → VP CONJ VP 7. PP → P NP 8. C → that
M. The dog sees that John sees that he eats the squirrel.
Give three more examples of sentences that can be generated by this CFG but are not correct English sen-
tences; enter one word per box. Skip the periods at the end of the sentences.
A.
B.
C.
F3. One of the rules in the CFG above is redundant: any sentence that can be generated using this rule can
already be generated by a combination of other rules. Write the number of the redundant rule below.
Do not scan this page
The Phoenician civilization was centered along the Mediterranean coast in an area known as Cana’an. The
map below shows a number of Phoenician cities and nearby cities that were important trading partners. The
spellings reflect their pronunciation in Phoenician. However, two of the cities on the map are shown with
their modern names which are very different from what they were called in Phoenician times.
This map is copyright © mapsof.net and is reproduced under the Creative Commons Attribution-ShareAlike 1.0 Licence
On some black and white printers, the colors of the sea and the Phoenician territory are hard to tell apart.
The Phoenician territory is the area that includes the following cities: Aynuk, Tripoli, Beritos, and Tsarephath.
G1. Match up the Phoenician names in the list below with the names on the map. Remember, two of the
names will not match, so you should have two names left over.
1 {prj 6 knIa
.
2 blH 7 lbO
3 Elbr 8 R{a
4 Fdgm 9 SdQ
5 Rmd{ 10 Xtrb
YOUR NAME: REGISTRATION #
Aynuk
Beritos
Ebla
Halab
Megiduw
Palmyra
Qadesh
Riblah
Tripoli
Tsarephath
Do not scan this page
Why so many layout options? If a sentence or other phrase consists of two sub-phrases A and B, where A is
spoken first, then Twodee lets you write A either to the left of B (as in ordinary writing) or above B. If A or B
has multiple words, then it will have sub-phrases of its own. The diagrams below reveal how the four
Twodee sentences above were put together.
Clear writers of Twodee usually try to choose layout options that will help their readers identify the sub-
phrases A and B. Make sure you align the top edges as shown when placing the A and B rectangles side-by-
side, or align the left edges as shown when stacking the A and B rectangles top-to-bottom. No extra space
(blank columns or rows) is allowed between the two rectangles.
To write Twodee, you do need to know how to divide the phrase you’re writing into sub-phrases. That is
mostly a matter of common sense, based on the intended meaning of the phrase. There are also some con-
ventions, such as the traditional division of a sentence into subject (“Frogs”) and predicate (“eat flies,” which
describes what frogs do).
While Twodee is intended as a better writing system, it can still be ambiguous. For example, the meaning of
The fall
(Spoken order: “The leaves fall each year.”) (Spoken order: “The fall leaves each year.”)
YOUR NAME: REGISTRATION #
A.
B.
The citizens
hugged the
and soldiers.
3. The citizens hugged the soldiers
cheered
and cheered the soldiers.
D.
Alice
attacked the
scientists
with the
faulty data.
8. Alice used the faulty data
to attack the scientists.
Alice
attacked the with the
scientists faulty data. 9. Alice attacked the scientists
who had faulty data.
F.
Please shake in
the
raisins.
I was
17. The hut of the dark magician
spooked out spooked me out.
by the dark magician’s
18. The dark hut of the magician
hut.
spooked me out.
H.
The sold
business to
the bank
21. The business sold things to the bank
bought from that was bought from the government.
the
government.
22. The business that was sold to the bank
bought things from the government.
The bought from
business sold the
to government.
the bank
YOUR NAME: REGISTRATION #
“Zooey Deschanel left her husband Death Cab for Cutie frontman Ben Gibbard.”
The former husband, Ben Gibbard, was the frontman for a band called “Death Cab for Cutie.” However, an
editor for ABC News incorrectly clarified the sentence and published the following:
“Deschanel filed for divorce from husband Death Cab, throwing him over for Cutie frontman Ben
Gibbard.”
(The editor went on to add that “Deschanel and Cab were married for a little more than three years.”)
By using Twodee, how could the reporter have written the original sentence to avoid this confusion? Place
the words of the original sentence in 12 different cells of this two-dimensional grid (starting with “Zooey” at
the top left).
Zooey
YOUR NAME: REGISTRATION #
An editor is considering alternative arrangements of the words that might make the intended meaning more
apparent. How many ways can this sentence be written in Twodee? Consider only ways that preserve the in-
tended division into phrases and sub-phrases, for instance:
Answer: _______________
H4. Here are some Twodee sentences whose spoken order is not obvious, as in the “leaves fall”/”fall leaves”
example. In each case, how many different spoken orders are possible? (We have just used letters to stand
for the words, since the particular words don’t affect the answer.)
a b c a b c
e g e f g
i j k i j k
A. ______________ _ B. _______________
a b c d
a b c d e f g h
e f g h i j k l
i j k l m n o p
C. _______________ D. _______________
YOUR NAME: REGISTRATION #
Extra Page - Enter the Problem Name Here: __________
Do not scan this page
NACLO 2013
Sites
As well as more than 90 high schools throughout the USA and Canada