François Patte
2019-02-16 16:29:15 UTC
In an old text about versification, you can find algorithms to write all
the possibilities to alternate long (G) and short (L) syllables in a
verse. Here is the result for a 3 syllable verse:
GGG
LGG
GLG
LLG
GGL
LGL
GLL
LLL
As you can see, this table is ordered in reverse lexicographical order
from bottom to top.
The text gives a mean to find out the number of a line in the table when
you know its content: take the last L and write 2 under it. Then,
proceeding from right to left, double this number if the next syllable
is L, double it and subtract 1 if the syllable is G.
Exemple: LLG write 2 under the last L, as the preceeding syllable is L,
double and you get 4 which is the number of the line.
LGL: 2 under the last L, under the G you get 2x2-1= 3, under the first L
you get 2x3 = 6.
This system works for every number of syllables, for instance for a 5
syllable verse (the table has 2^5 lines) the line LGGLL is the 26th one:
2 under the last L, double under the previous L: 4, double this 4 and
subtract 1 under the preceeding G: 8-1=7, double 7 and subtract 1 under
the preceeding G: 14-1= 13, double this 13 under the first L: 26.
Now the algorithm to construct these tables: take two copies of the
table for n syllables and put them one over the other and for the first
copy (on top) add a column of G on the right, and add a column of L on
the right of the 2nd copy (down) and you get the table for n+1 syllables.
My question:
Is there a relation between the algorithm used to construct the tables
and the way they use to calculate the rank of a line? Or between the
order of the lines (reverse lexicographical order from bottom to top)
and the calculation of this rank?
Thank you.
the possibilities to alternate long (G) and short (L) syllables in a
verse. Here is the result for a 3 syllable verse:
GGG
LGG
GLG
LLG
GGL
LGL
GLL
LLL
As you can see, this table is ordered in reverse lexicographical order
from bottom to top.
The text gives a mean to find out the number of a line in the table when
you know its content: take the last L and write 2 under it. Then,
proceeding from right to left, double this number if the next syllable
is L, double it and subtract 1 if the syllable is G.
Exemple: LLG write 2 under the last L, as the preceeding syllable is L,
double and you get 4 which is the number of the line.
LGL: 2 under the last L, under the G you get 2x2-1= 3, under the first L
you get 2x3 = 6.
This system works for every number of syllables, for instance for a 5
syllable verse (the table has 2^5 lines) the line LGGLL is the 26th one:
2 under the last L, double under the previous L: 4, double this 4 and
subtract 1 under the preceeding G: 8-1=7, double 7 and subtract 1 under
the preceeding G: 14-1= 13, double this 13 under the first L: 26.
Now the algorithm to construct these tables: take two copies of the
table for n syllables and put them one over the other and for the first
copy (on top) add a column of G on the right, and add a column of L on
the right of the 2nd copy (down) and you get the table for n+1 syllables.
My question:
Is there a relation between the algorithm used to construct the tables
and the way they use to calculate the rank of a line? Or between the
order of the lines (reverse lexicographical order from bottom to top)
and the calculation of this rank?
Thank you.
--
François Patte
Université Paris Descartes
François Patte
Université Paris Descartes