Review Exercises
Now we'll see how we can describe stress patterns using rewrite grammars.
How would you write a grammar/FSA that yields the following stress pattern (Afrikaans):
In words of all sizes, primary stress falls on the initial syllable.
How would you write a grammar/FSA that yields the following stress pattern? First try writing a grammar for just secondary stress, before doing both primary and secondary stress together. (Asmat)
In words of all sizes, primary stress falls on the initial syllable. In words of all sizes, secondary stress falls iteratively on odd numbered syllables, counting from the right.
How would you write a grammar/FSA that yields the following stress pattern? (Fijian)
In words of all sizes, primary stress falls on the final syllable if it is heavy, else on the penultimate syllable if it is heavy, else on the penultimate syllable. In words of all sizes, secondary stress falls on all heavy syllables. In sequences of light syllables, secondary stress falls on the even numbered syllables, counting from the right edge of the sequence. Light monosyllables do not occur.
Counting: Heinz (2011)
Many regular languages describe unnatural phonological patterns. For example, imagine the logically possible language in which words are well-formed only if they contain an even number of vowels, regardless of their order. Words like bbb,baba, bbaa, aab, bbaabbb are all well-formed according to this pattern, unlike words like a, ababa, bab, bababab. This pattern is a regular language, though most phonologists would agree natural languages do not contain bonafide phonological generalizations of this sort (nor could natural languages do so).
Definitions (see further-reading/formal_language/heinzhiguerazaanen2016.pdf)
Canonical acceptor for some language: minimal (fewest states), deterministic acceptor for some language (section 3.3, page 53)
Tails, heads, head vs. tail canonical acceptors, left to right and right to left
StressTyp2 database
Strings vs. trees
further-reading/formal_language/karttunen2006.pdf, karttunen2006a.pdf)xfst. Getting out of program Ctrl-C define variable regular-expression ;. Commands end in semicolons!sigmapush and pop stackprint net, print words, down
apply down by typing END; write dot > blah.dot Requires GraphViz
dot -Tpdf blah.dot > blah.pdf' ordot -Tpng blah.dot > blah.png'