[Trennmuster] Railroad diagram first complete version

Pander pander at users.sourceforge.net
Do Nov 14 21:17:46 CET 2013


Hi all,

Please review the first complete railroad diagram of the hyphenation
format found in the attachment. It should cover the complete file wortliste.

Does anyone know a script that can validate wortliste against this
definition?

Regards,

Pander
-------------- nächster Teil --------------
Line
   ::= Word ( Delimiter ( Definition | Spacer ) )+ Comment?
Word
   ::= Char Char Char Char+
Delimiter
   ::= ';'
Definition
   ::= Morpheme ( Hyphen Morpheme )*
Spacer
   ::= '-' [2-9] '-'
Comment
   ::= ' # ' PrintableChar*
Hyphen
   ::= '-' ( '-'? | '='? ) | '=' '='? '='? | '|' ( '|'? '|'? | '='? | '.'? ) | '.' | '_' | '·'
Morpheme
   ::= MorphemeBasic | MorpheneAltSpelling
MorphemeBasic
   ::= Char Char+
MorphemeAltSpelling
   ::= Char+ '{' Char Char '/' Char Char? ( '|' | '=' | '-' | '·' ) Char Char? '}' Char+
MorphemeMultiHyphenation
   ::= Char+ '[' ( '-' '/' | '·b' '/' 'b·' | '·be' '/' 'b·e' | '·g' '/' 'g·' | '·l' '/' 'l·' | '·r' '/' 'r·' | '·s' '/' 's·' | '·t' '/' 't·' | '·st' '/' 'st·' | '|st' '/' 'st=' | '=s' '/' 's=' | '=t' '/' 't=' | '==s' '/' 's==' | '-der=' '/' 'd=er.' | '·ker·' '/' 'k·er.' | '=stra-ss' '/' 's=tras-s' | '{ck/k·k}er·' '/' 'ck·er.' | 't=t' '/' '{tt/tt=t}' | 'll=' '/' '{ll/ll=l}' | 'f-f' '/' '{ff/ff=f}' | 'ss·' '/' '{ss/ss=s}' | 't=tu-' '/' '{tt/tt=t}u.' | 't=tü-' '/' '{tt/tt=t}ü.' ) ']' Char+
PrintableChar
   ::= [^#x0-#x1F#x7F]
Char
   ::= [aAáàâäÄbBcCçdDeEéèêëfFgGhHiIíîjJkKlLmMnNñoOóôöÖpPqQrRsSßtTuUüÜvVwWxXyYzZ]
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : grammar.xhtml
Dateityp    : application/xhtml+xml
Dateigröße  : 151720 bytes
Beschreibung: nicht verfügbar
URL         : <https://listi.jpberlin.de/pipermail/trennmuster/attachments/20131114/df491110/attachment.xhtml>


Mehr Informationen über die Mailingliste Trennmuster