Vorlagenprogrammierung | Diskussionen | Lua | Unterseiten | |||
Modul | Deutsch | English
|
Modul: | Dokumentation |
Diese Seite enthält Code in der Programmiersprache Lua. Einbindungszahl Cirrus
--[=[ Module Monographs 2021-09-21© (CC BY-SA 3.0) by User:Kpfiwa Version: 3.4
p = "▄ ", -- kurz/dit + Pause
l = "▄▄▄ ", -- lang/dah = 3 dit + Pause
t = "  ", -- zwei Buchstabentrenner ohne Umbruch, 1 automatisch vorgegeben = 3
--- USA
p = "▄ ",
m = "▄▄▄▄" -- = 'L'
n = "▄▄▄▄▄▄▄▄▄▄▄" -- = '0' Null
q = " ") -- aspace
call it with: MOGR = require("Modul:Vorlage/Morse/Monographs"
For versions in other languages, names for the Module and Template have to be adapted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NEVER INSERT lowercase letters 'abcdefghijklmnopqrstuvwxyz'in this table!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--]=]
return {
["!"] = "lplpllt",
["$"] = "ppplpplt",
["'"] = "pllllpt", -- JN
["("] = "lpllpt", -- KN
[")"] = "lpllplt", -- KK
["+"] = "plplpt", -- AR
[","] = "llppllt",-- MIM
["-"] = "lpppplt",-- BA
["."] = "plplplt",-- AAA
["/"] = "lpplpt", --DN
[":"] = "lllpppt", --OS
["="] = "lppplt", --BT
[";"] = "lplplpt", --Semikolon
["?"] = "ppllppt", --IMI
["@"] = "pllplpt",
["A"] = "plt",
["B"] = "lpppt",
["C"] = "lplpt",
["D"] = "lppt",
["E"] = "pt",
["F"] = "pplpt",
["G"] = "llpt",
["H"] = "ppppt",
["ή"] = "ppppt",
["I"] = "ppt",
["J"] = "plllt",
["K"] = "lplt",
["L"] = "plppt",
["M"] = "llt",
["N"] = "lpt",
["O"] = "lllt",
["P"] = "pllpt",
["Q"] = "llplt",
["R"] = "plpt",
["S"] = "pppt",
["T"] = "lt",
["U"] = "pplt",
["V"] = "ppplt",
["W"] = "pllt",
["X"] = "lpplt",
["Y"] = "lpllt",
["Z"] = "llppt",
["_"] = "ppllplt", -- UK
--["a"] = "lllllt", -- entbehrlich, Konflikt mit sp'a'n
["o"] = "lllllt",
["b"] = "pllllt",
["c"] = "pplllt",
["d"] = "pppllt",
["e"] = "pppplt",
["f"] = "pppppt",
["g"] = "lppppt",
["h"] = "llpppt",
["i"] = "lllppt",
["j"] = "llllpt",
["x"] = "plpppt",
["y"] = "lpllt",
["z"] = "lplplpt", -- NNN, umgesetztes Semikolon
["¡"] = "llppplt",
["¿"] = "pplplt",
["À"] = "pllplt",
["À"] = "pllplt",
["Á"] = "pllplt",
["Â"] = "pllplt",
["Ã"] = "pllplt",
["Ä"] = "plplt",
["Ä"] = "plplt",
["Å"] = "pllplt",
["Å"] = "pllplt",
["Æ"] = "plplt",
["Æ"] = "plplt",
["Ç"] = "lplppt",
["Ç"] = "lplppt",
["È"] = "plpplt",
["È"] = "plpplt",
["É"] = "pplppt",
["É"] = "pplppt",
["Ê"] = "lpplpt",
["Ê"] = "lpplpt",
["Ë"] = "pplppt",
["Ë"] = "pplppt",
["Ì"] = "plllpt",
["Ì"] = "plllpt",
["Ï"] = "lppllt",
["Ï"] = "lppllt",
["Ð"] = "ppllpt",
["Ð"] = "ppllpt",
["Ñ"] = "llpllt",
["Ñ"] = "llpllt",
["Ñ"] = "llpllt",
["Ò"] = "lllpt",
["Ò"] = "lllpt",
["Ó"] = "lllpt",
["Ó"] = "lllpt",
["Ô"] = "lllpt",
["Ô"] = "lllpt",
["Ö"] = "lllpt",
["Ö"] = "lllpt",
["Ø"] = "lllpt",
["Ø"] = "lllpt",
["Ù"] = "ppllt",
["Ù"] = "ppllt",
["Ü"] = "ppllt",
["Ü"] = "ppllt",
["Þ"] = "pllppt",
["Þ"] = "pllppt",
["ß"] = "pppllppt", -- SZ
["ẞ"] = "ppppppt", -- SZ versal
["à"] = "pllplt",
["à"] = "pllplt",
["á"] = "pllplt",
["â"] = "pllplt",
["ã"] = "pllplt",
["ä"] = "plplt",
["ä"] = "plplt",
["å"] = "pllplt",
["å"] = "pllplt",
["æ"] = "plplt",
["æ"] = "plplt",
["ç"] = "lplppt",
["ç"] = "lplppt",
["è"] = "plpplt",
["è"] = "plpplt",
["é"] = "pplppt",
["é"] = "pplppt",
["ê"] = "lpplpt",
["ê"] = "lpplpt",
["ë"] = "pplppt",
["ë"] = "pplppt",
["ì"] = "plllpt",
["ì"] = "plllpt",
["ï"] = "lppllt",
["ï"] = "lppllt",
["ð"] = "ppllpt",
["ð"] = "ppllpt",
["ñ"] = "llpllt",
["ñ"] = "llpllt",
["ñ"] = "llplt",
["ò"] = "lllpt",
["ò"] = "lllpt",
["ó"] = "lllpt",
["ó"] = "lllpt",
["ô"] = "lllpt",
["ô"] = "lllpt",
["ö"] = "lllpt",
["ö"] = "lllpt",
["ø"] = "lllpt",
["ø"] = "lllpt",
["ù"] = "ppllt",
["ù"] = "ppllt",
["ü"] = "ppllt",
["ü"] = "ppllt",
["þ"] = "pllppt",
["þ"] = "pllppt",
["Ą"] = "plplt",
["ą"] = "plplt",
["Ć"] = "lplppt",
["Ć"] = "lplppt",
["ć"] = "lplppt",
["ć"] = "lplppt",
["Ĉ"] = "lplppt",
["Ĉ"] = "lplppt",
["ĉ"] = "lplppt",
["ĉ"] = "lplppt",
["Č"] = "llpt",
["Č"] = "llpt",
["č"] = "llpt",
["č"] = "llpt",
["Ę"] = "pplppt",
["Ę"] = "pplppt",
["ę"] = "pplppt",
["ę"] = "pplppt",
["Ĝ"] = "llplpt",
["Ĝ"] = "llplpt",
["ĝ"] = "llplpt",
["ĝ"] = "llplpt",
["Ğ"] = "llplpt",
["Ğ"] = "llplpt",
["ğ"] = "llplpt",
["ğ"] = "llplpt",
["Ĥ"] = "llllt",
["Ĥ"] = "llllt",
["ĥ"] = "llllt",
["ĥ"] = "llllt",
["İ"] = "plpplt",
["İ"] = "plpplt",
["ı"] = "ppt",
["Ĵ"] = "plllpt",
["Ĵ"] = "plllpt",
["ĵ"] = "plllpt",
["ĵ"] = "plllpt",
["Ł"] = "plpplt",
["Ł"] = "plpplt",
["ł"] = "plpplt",
["ł"] = "plpplt",
["Ń"] = "llpllt",
["Ń"] = "llpllt",
["ń"] = "llpllt",
["ń"] = "llpllt",
["Ś"] = "ppplpppt",
["Ś"] = "ppplpppt",
["ś"] = "ppplpppt",
["ś"] = "ppplpppt",
["Ŝ"] = "ppplpt",
["Ŝ"] = "ppplpt",
["ŝ"] = "ppplpt",
["ŝ"] = "ppplpt",
["Ş"] = "pllppt",
["Ş"] = "pllppt",
["ş"] = "pllppt",
["ş"] = "pllppt",
["Š"] = "llllt",
["Š"] = "llllt",
["š"] = "llllt",
["š"] = "llllt",
["Ŭ"] = "ppllt",
["Ŭ"] = "ppllt",
["ŭ"] = "ppllt",
["ŭ"] = "ppllt",
["Ź"] = "llpplpt",
["Ź"] = "llpplpt",
["ź"] = "llpplpt",
["ź"] = "llpplpt",
["Ż"] = "llpplt",
["Ż"] = "llpplt",
["ż"] = "llpplt",
["ż"] = "llpplt",
["Ž"] = "llpplt",
["Ž"] = "llpplt",
["ž"] = "llpplt",
["ž"] = "llpplt",
["Ș"] = "llllt",
["Ș"] = "llllt",
["ș"] = "llllt",
["ș"] = "llllt",
["Α"] = "plt",
["Α"] = "plt",
["Β"] = "lpppt",
["Β"] = "lpppt",
["Γ"] = "llpt",
["Γ"] = "llpt",
["Δ"] = "lppt",
["Δ"] = "lppt",
["Ε"] = "pt",
["Ζ"] = "llppt",
["Ζ"] = "llppt",
["Ή"] = "ppppt",
["Η"] = "ppppt",
["Θ"] = "lplpt",
["Θ"] = "lplpt",
["Ι"] = "ppt",
["Κ"] = "lplt",
["Κ"] = "lplt",
["Λ"] = "plppt",
["Λ"] = "plppt",
["Μ"] = "llt",
["Μ"] = "llt",
["Ν"] = "lpt",
["Ν"] = "lpt",
["Ξ"] = "lpplt",
["Ξ"] = "lpplt",
["Ο"] = "lllt",
["Ο"] = "lllt",
["Π"] = "pllpt",
["Π"] = "pllpt",
["Ρ"] = "plpt",
["Ρ"] = "plpt",
["Σ"] = "pppt",
["Τ"] = "lt",
["Τ"] = "lt",
["Υ"] = "lpllt",
["Υ"] = "lpllt",
["Φ"] = "pplpt",
["Φ"] = "pplpt",
["Χ"] = "llllt",
["Χ"] = "llllt",
["Ψ"] = "llplt",
["Ψ"] = "llplt",
["Ω"] = "pllt",
["Ω"] = "pllt",
["α"] = "plt",
["α"] = "plt",
["β"] = "lpppt",
["β"] = "lpppt",
["γ"] = "llpt",
["γ"] = "llpt",
["δ"] = "lppt",
["δ"] = "lppt",
["ε"] = "pt",
["ζ"] = "llppt",
["ζ"] = "llppt",
["η"] = "ppppt",
["θ"] = "lplpt",
["θ"] = "lplpt",
["ι"] = "ppt",
["κ"] = "lplt",
["κ"] = "lplt",
["λ"] = "plppt",
["λ"] = "plppt",
["μ"] = "llt",
["μ"] = "llt",
["ν"] = "lpt",
["ν"] = "lpt",
["ξ"] = "lpplt",
["ξ"] = "lpplt",
["ο"] = "lllt",
["ο"] = "lllt",
["π"] = "pllpt",
["π"] = "pllpt",
["ρ"] = "plpt",
["ρ"] = "plpt",
["ς"] = "pppt",
["σ"] = "pppt",
["τ"] = "lt",
["τ"] = "lt",
["υ"] = "lpllt",
["υ"] = "lpllt",
["φ"] = "pplpt",
["φ"] = "pplpt",
["χ"] = "llllt",
["χ"] = "llllt",
["ψ"] = "llplt",
["ψ"] = "llplt",
["ω"] = "pllt",
["ω"] = "pllt",
["Є"] = "pplppt",
["Є"] = "pplppt",
["І"] = "ppt",
["Ї"] = "plllpt",
["Ї"] = "plllpt",
["А"] = "plt",
["А"] = "plt",
["Б"] = "lpppt",
["Б"] = "lpppt",
["В"] = "pllt",
["В"] = "pllt",
["Г"] = "llpt",
["Г"] = "llpt",
["Д"] = "lppt",
["Д"] = "lppt",
["Е"] = "pt",
["Ж"] = "ppplt",
["Ж"] = "ppplt",
["З"] = "llppt",
["З"] = "llppt",
["И"] = "ppt",
["Й"] = "plllt",
["Й"] = "plllt",
["К"] = "lplt",
["К"] = "lplt",
["Л"] = "plppt",
["Л"] = "plppt",
["М"] = "llt",
["М"] = "llt",
["Н"] = "lpt",
["Н"] = "lpt",
["О"] = "lllt",
["О"] = "lllt",
["П"] = "pllpt",
["П"] = "pllpt",
["Р"] = "plpt",
["Р"] = "plpt",
["С"] = "pppt",
["Т"] = "lt",
["Т"] = "lt",
["У"] = "pplt",
["У"] = "pplt",
["Ф"] = "pplpt",
["Ф"] = "pplpt",
["Х"] = "ppppt",
["Ц"] = "lplpt",
["Ц"] = "lplpt",
["Ч"] = "lllpt",
["Ч"] = "lllpt",
["Ш"] = "llllt",
["Ш"] = "llllt",
["Щ"] = "llplt",
["Щ"] = "llplt",
["Ъ"] = "llpllt",
["Ъ"] = "llpllt",
["Ы"] = "lpllt",
["Ы"] = "lpllt",
["Ь"] = "lpplt",
["Ь"] = "lpplt",
["Э"] = "pplppt",
["Э"] = "pplppt",
["Ю"] = "ppllt",
["Ю"] = "ppllt",
["Я"] = "plplt",
["Я"] = "plplt",
["а"] = "plt",
["а"] = "plt",
["ά"] = "plt",
["б"] = "lpppt",
["б"] = "lpppt",
["в"] = "pllt",
["в"] = "pllt",
["г"] = "llpt",
["г"] = "llpt",
["д"] = "lppt",
["д"] = "lppt",
["е"] = "pt",
["ж"] = "ppplt",
["ж"] = "ppplt",
["з"] = "llppt",
["з"] = "llppt",
["и"] = "ppt",
["й"] = "plllt",
["й"] = "plllt",
["к"] = "lplt",
["к"] = "lplt",
["л"] = "plppt",
["л"] = "plppt",
["м"] = "llt",
["м"] = "llt",
["н"] = "lpt",
["н"] = "lpt",
["о"] = "lllt",
["о"] = "lllt",
["п"] = "pllpt",
["п"] = "pllpt",
["р"] = "plpt",
["р"] = "plpt",
["с"] = "pppt",
["т"] = "lt",
["т"] = "lt",
["у"] = "pplt",
["у"] = "pplt",
["ф"] = "pplpt",
["ф"] = "pplpt",
["х"] = "ppppt",
["ц"] = "lplpt",
["ц"] = "lplpt",
["ч"] = "lllpt",
["ч"] = "lllpt",
["ш"] = "llllt",
["ш"] = "llllt",
["щ"] = "llplt",
["щ"] = "llplt",
["ъ"] = "llpllt",
["ъ"] = "llpllt",
["ы"] = "lpllt",
["ы"] = "lpllt",
["ь"] = "lpplt",
["ь"] = "lpplt",
["э"] = "pplppt",
["э"] = "pplppt",
["ю"] = "ppllt",
["ю"] = "ppllt",
["я"] = "plplt",
["я"] = "plplt",
["є"] = "pplppt",
["є"] = "pplppt",
["ί"] = "ppt",
["і"] = "ppt",
["ї"] = "plllpt",
["ї"] = "plllpt",
["Ґ"] = "llpt",
["Ґ"] = "llpt",
["ґ"] = "llpt",
["ґ"] = "llpt",
["ᾳ"] = "plppt",
["ᾼ"] = "plppt",
["ι"] = "ppt",
["ῃ"] = "ppppppt",
["ῌ"] = "ppppppt",
["ῳ"] = "pllppt",
["ῼ"] = "pllppt",
['%"'] = "plpplpt",
["א"] = "plt",
["ב"] = "lpppt",
["ג"] = "llpt",
["ד"] = "lppt",
["ה"] = "lllt",
["ו"] = "pt",
["ז"] = "llppt",
["ח"] = "ppppt",
["ט"] = "pplt",
["י"] = "ppt",
["כ"] = "lplt",
["ך"] = "lplt",
["ל"] = "plppt",
["מ"] = "llt",
["ם"] = "llt",
["נ"] = "lpt",
["ן"] = "lpt",
["ס"] = "lplpt",
["ע"] = "plllt",
["פ"] = "pllpt",
["ף"] = "pllpt",
["צ"] = "pllt",
["ץ"] = "pllt",
["ק"] = "llplt",
["ר"] = "plpt",
["ש"] = "pppt",
["ת"] = "lt",
-- Armenisch
["Է"] = "pt", -- E
["Ա"] = "plt", -- A
["Բ"] = "lpppt", -- B
["Գ"] = "llpt", -- G
["Դ"] = "lppt", -- D
["Ե"] = "pt", -- E
["Զ"] = "llppt", -- Z
["Ը"] = "lpllt", -- Y
["Թ"] = "llpllt", -- Ñ
["Ժ"] = "ppplt", -- V
["Ի"] = "ppt", -- I
["Լ"] = "plppt", -- L
["Խ"] = "ppppt", -- H
["Ծ"] = "pllplpt",
["Կ"] = "lplt", -- K
["Հ"] = "plllpt",
["Ձ"] = "lpplpt",
["Ղ"] = "llplt", -- Q
["Ճ"] = "plplpt",
["Մ"] = "llt", -- M
["Յ"] = "plllt", -- J
["Ն"] = "lpt", -- N
["Շ"] = "llllt", -- CH
["Ո"] = "lllt", -- O
["Ւ"] = "pplt", -- U
["Չ"] = "lllpt", -- Ö
["Պ"] = "pllpt", -- P
["Ջ"] = "lplppt",
["Ռ"] = "plpplpt",
["Ս"] = "pppt", -- S
["Վ"] = "pllt", -- W
["Տ"] = "lt", -- T
["Ր"] = "plpt", -- R
["Ց"] = "lplpt", -- C
["Փ"] = "pplplt",
["Ք"] = "lpplt", -- X
["Ֆ"] = "pplpt", -- F
-- arabisch & farsi
["ا"] = "plt", -- A
["ذ"] = "llppt", -- Z
["ط"] = "pplt", -- U
["ل"] = "plppt", -- L
["ب"] = "lpppt", -- B
["ر"] = "plpt", -- R
["ظ"] = "lpllt", -- Y
["م"] = "llt", -- M
["ت"] = "lt", -- T
["ز"] = "lllpt", -- Ö
["ع"] = "plplt", -- Ä
["ن"] = "lpt", -- N
["ث"] = "lplpt", -- C
["س"] = "pppt", -- S
["غ"] = "llpt", -- G
["ه"] = "pplppt", -- É
["ج"] = "plllt", -- J
["ش"] = "llllt", -- CH
["ف"] = "pplpt", -- F
["و"] = "pllt", -- W
["ح"] = "ppppt", -- H
["ص"] = "lpplt", -- X
["ق"] = "llplt", -- Q
["ي"] = "ppt", -- I
["خ"] = "lllt", -- O
["ض"] = "ppplt", -- V
["ك"] = "lplt", -- K
["ﺀ"] = "pt", -- E
["د"] = "lppt", -- D
["ا"] = "plt", -- A
["خ"] = "lpplt", -- KH
["ص"] = "plplt", -- S
["ک"] = "lplt", -- K
["ب"] = "lpppt", -- B
["د"] = "lppt", -- D
["ض"] = "pplppt", -- Z
["گ"] = "llplt", -- G
["پ"] = "pllpt", -- P
["ذ"] = "ppplt", -- Z
["ط"] = "pplt", -- T
["ل"] = "plppt", -- L
["ت"] = "lt", -- T
["ر"] = "plpt", -- R
["ظ"] = "lpllt", -- Z
["م"] = "llt", -- M
["ث"] = "lplpt", -- C
["ز"] = "llppt", -- J
["ع"] = "lllt", -- AI
["ن"] = "lpt", -- N
["ج"] = "plllt", -- J
["ژ"] = "llpt", -- G
["غ"] = "ppllt", -- GH
["و"] = "pllt", -- W
["چ"] = "lllpt", -- CH
["س"] = "pppt", -- S
["ف"] = "pplpt", -- F
["ه"] = "pt", -- H
["ح"] = "ppppt", -- H
["ش"] = "llllt", -- SH
["ق"] = "lllpppt", -- Q
["ی"] = "ppt" ,-- I/E
-- Wabun
["ア"] = "llpllt", --a
["カ"] = "plppt", --ka
["サ"] = "lplplt", --sa
["タ"] = "lpt", --ta
["ナ"] = "plpt", --na
["ハ"] = "lpppt", --ha
["マ"] = "lpplt", --ma
["ヤ"] = "pllt", --ya
["ラ"] = "pppt", --ra
["ワ"] = "lplt", --wa
["イ"] = "plt", --i
["キ"] = "lplppt", --ki
["ヒ"] = "llpplt", --hi
["ミ"] = "pplplt", --mi
["リ"] = "llpt", --ri
["ヰ"] = "plpplt", --wi
["ウ"] = "pplt", --u
["ク"] = "ppplt", --ku
["ス"] = "lllplt", --su
["ツ"] = "pllpt", --tsu
["ヌ"] = "ppppt", --nu
["フ"] = "llppt", --fu
["ム"] = "lt", --mu
["ユ"] = "lppllt", --yu
["ル"] = "lpllpt", --ru
["ン"] = "plplpt", --n
["エ"] = "lplllt", --e
["ケ"] = "lpllt", --ke
["セ"] = "plllpt", --se
["テ"] = "plpllt", --te
["ネ"] = "llplt", --ne
["ヘ"] = "pt", --he
["メ"] = "lppplt", --me
["レ"] = "lllt", --re
["ヱ"] = "pllppt", --we
["、"] = "plplplt", --Comma
["オ"] = "plpppt", --o
["コ"] = "llllt", --ko
["ソ"] = "lllpt", --so
["ト"] = "pplppt", --to
["ノ"] = "ppllt", --no
["ホ"] = "lppt", --ho
["モ"] = "lpplpt", --mo
["ヨ"] = "llt", --yo
["ロ"] = "plplt", --ro
["ヲ"] = "plllt", --wo
--["シ"] = "llplpt", –-shi makes trouble!!
["チ"] = "pplpt",
["ニ"] = "lplpt", --ni
['“']="pplptlpt", -- Quotation mark (open) [“] british
['”']="pplptlplpt", -- Quotation mark (close) [”] british
['„']="pplptlpt", -- Quotation mark (open) [„] Typografisch
['“']="pplptlplpt", -- Quotation mark (close) [“] Typografisch
['‚']="pplptlpt", -- Quotation mark (open) [‚] simple
['‘']="pplptlplpt", -- Quotation mark (close) [‘] simple
['‘']="pplptlpt", -- Quotation mark (open) [‘] simple british
['’']="pplptlplpt", -- Quotation mark (close) [’] simple british
['«']="pplptlpt", -- Quotation mark (open) [«] CH
['»']="pplptlplpt", -- Quotation mark (close) [»] CH
['‹']="pplptlpt", -- Quotation mark (open) [‹] simple CH
['›']="pplptlplpt", -- Quotation mark (close) [›] simple CH
['»']="pplptlpt", -- Quotation mark (open) [»] spitze Anführungszeichen
['«']="pplptlplpt", -- Quotation mark (close) [«] spitze Anführungszeichen
['›']="pplptlpt", -- Quotation mark (open) [›] simple spitze Anführungszeichen
['‹']="pplptlplpt", -- Quotation mark (close) [›] simple spitze Anführungszeichen
['¶']="lppplt", -- Paragraph break [¶] Absatz
--[[
Weitere Buchstaben und Sonderzeichen hier anfügen.
Add more letters and special characters here.
Ajoutez plus de lettres et de caractères spéciaux ici.
Šeit pievienojiet vairāk burtu un speciālo rakstzīmju.
Agregue más letras y caracteres especiales aquí.
Добавьте сюда больше букв и специальных символов.
--]]
} -- FINITO! Never forget this closing