Python
Conversion options
Every conversion function takes the same ConversionOptions. This document
lists each option with its values, its default, an example of what each
value writes, and the presets that select it.
Options come in five groups, named after what they describe: transliteration
is the Latin writing system, greek the Greek one, beta_code the Beta Code
conventions, text the transformations of the whole text, and diacritics
which classes of marks are kept. Two more keys stand beside the groups:
presetnames a preset, a set of these same options. The defaults apply first, then the preset, then the options given with it. Named here, a preset is these options alone; bound by a converter, it is also a scope, the characters of its standard (see Preset boundary).sourcegives the options the input is written with, when they are not those of the output (see Reading).
An option acts where what it describes is written or read: the options of
transliteration when transliteration is written or read, those of greek
when Greek is written (a few of them reach Beta Code), and those of text and
diacritics in every format. A key or a value that is not listed here raises
an OptionError; CONVERSION_OPTION_VALUES and DEFAULT_CONVERSION_OPTIONS
give the same lists at run time:
from greek_conversion import ( CONVERSION_OPTION_VALUES, DEFAULT_CONVERSION_OPTIONS,)
CONVERSION_OPTION_VALUES["transliteration"]["beta"] # → ['b', 'v']DEFAULT_CONVERSION_OPTIONS["transliteration"]["beta"] # → bThe reference below is generated from the library: the texts are those of its API documentation, and each example is the first word of a probe text that the value writes otherwise than the default does. The head of each table names the conversion its examples go through; the default writes the words that the other values change, and two writings that look alike are told apart by the scalars that differ. A preset is listed under the value it selects, not under a default it leaves as it is, which may concern what its standard does not cover; Presets gives the options of each. A value with no example writes the probe text as the default does, or changes only its spacing.
transliteration
Section titled “transliteration”How the Latin writing system spells Greek: the spelling of each letter and mark, and what a Latin spelling is read back as. These options act when transliteration is written and when it is read.
transliteration.beta
Section titled “transliteration.beta”Beta transliteration. Defaults to "b".
Selects b or modern v for beta in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"b" (default) |
βαρβάρων → barbárōn | |
"v" |
βαρβάρων → varvárōn | ala-lc-modern, iso-843-type-1, iso-843-type-2 |
transliteration.eta
Section titled “transliteration.eta”Latin letter for eta, which carries the long_vowels mark: "e" (ē) or "i" (ī). Defaults to "e".
Selects the Latin letter for eta in transliteration: e or i. The letter carries the length mark selected by transliteration.long_vowels: ē or ī by default, ê or î under long_vowels="circumflex", è or ì under long_vowels="grave-circumflex".
| Value | Greek → transliteration | Presets |
|---|---|---|
"e" (default) |
Ἕλλησιν → Héllēsin | |
"i" |
Ἕλλησιν → Héllīsin | iso-843-type-1, iso-843-type-2 |
transliteration.xi
Section titled “transliteration.xi”Xi transliteration. Defaults to "x".
Selects x or ks for xi in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"x" (default) |
σφίγξ → sphínx | |
"ks" |
σφίγξ → sphínks |
transliteration.phi
Section titled “transliteration.phi”Phi transliteration. Defaults to "ph".
Selects ph or f for phi in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"ph" (default) |
σφίγξ → sphínx | |
"f" |
σφίγξ → sfínx | iso-843-type-1, iso-843-type-2 |
transliteration.chi
Section titled “transliteration.chi”Chi transliteration. Defaults to "ch".
Selects ch or kh for chi in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"ch" (default) |
ἔλεγχος → élenchos | |
"kh" |
ἔλεγχος → élenkhos |
transliteration.upsilon
Section titled “transliteration.upsilon”Upsilon transliteration. Defaults to "y-with-diphthong-u", the spelling of the SBL Handbook; "y-with-au-eu-ou" uses u only in the three cited pairs.
Selects the transliterated spelling of upsilon.
"y-with-ou-v-f" follows ISO 843 Type 2: y, but u in the diphthong ου, and in the diphthongs αυ, ευ, ηυ a v before a voiced consonant (β, γ, δ, ζ, λ, μ, ν, ρ) or a vowel and an f before a voiceless consonant (θ, κ, ξ, π, σ, τ, φ, χ, ψ) or at the end of a word; an accent on that upsilon moves to the preceding vowel (Εύβοια → Évvoia). The v and f are read back as beta and phi under beta="v" and phi="f", as in the iso-843-type-2 preset, where the spelling is not reversible. Otherwise they read back as that upsilon, with its accent.
| Value | Greek → transliteration | Presets |
|---|---|---|
"u" |
ὑπὲρ → hupèr | |
"y" |
εὐθύς → eythýs | |
"y-with-diphthong-u" (default) |
ὑπὲρ → hypèr εὐθύς → euthýs ηὑρέθη → hēuréthē |
ala-lc-ancient, ala-lc-modern, sbl-general |
"y-with-au-eu-ou" |
ηὑρέθη → hēyréthē | bnf-ancient, iso-843-type-1 |
"y-with-ou-v-f" |
εὐθύς → efthýs | iso-843-type-2 |
transliteration.mu_pi
Section titled “transliteration.mu_pi”Transliteration of μπ. Defaults to "mp".
Selects the transliteration of μπ: mp letter by letter, or b at the beginning of a word ("b-initial", ALA-LC) or at either end of it ("b-initial-final", ISO 843 Type 2), mp elsewhere. b is read back as μπ only under beta="v"; otherwise it is also the spelling of beta.
| Value | Greek → transliteration | Presets |
|---|---|---|
"mp" (default) |
μπαμπάς → mpampás | |
"b-initial" |
μπαμπάς → bampás | ala-lc-modern |
"b-initial-final" |
μπαμπάς → bampás | iso-843-type-2 |
transliteration.nu_tau
Section titled “transliteration.nu_tau”Transliteration of ντ. Defaults to "nt".
Selects the transliteration of ντ: nt letter by letter, or, at the beginning of a word, d ("d-initial") or d̲ ("d-underline-initial", ALA-LC). Only d̲ is read back as ντ, since d is also delta.
| Value | Greek → transliteration | Presets |
|---|---|---|
"nt" (default) |
ντομάτα → ntomáta | |
"d-initial" |
ντομάτα → domáta | |
"d-underline-initial" |
ντομάτα → d̲omáta | ala-lc-modern |
transliteration.rho
Section titled “transliteration.rho”Rho transliteration. Defaults to "contextual".
Selects how rho is written. "contextual" writes the h of a rough breathing, and after the second rho of a pair, as classical studies write it whether Greek marks it or not (Πύρρος → Pýrrhos); "marked" writes it only where Greek writes a rough breathing, as ISO 843, the ALA-LC table of Modern Greek, and the BnF do (Πύρρος → Pýrros, ῥήτωρ → rhḗtōr), and reads every rh as a rho with a rough breathing; "systematic" writes one final h per contiguous rho group.
| Value | Greek → transliteration | Presets |
|---|---|---|
"contextual" (default) |
ἄρρητος → árrhētos μέρει → mérei |
|
"marked" |
ἄρρητος → árrētos | ala-lc-modern, bnf-ancient, iso-843-type-1, iso-843-type-2 |
"systematic" |
μέρει → mérhei |
transliteration.nasal_gamma
Section titled “transliteration.nasal_gamma”Nasal gamma spelling. Defaults to "nasal".
Selects contextual nasal gamma (n) or literal gamma (g).
"nasal" writes n for gamma before gamma, kappa, xi, and chi (γγ → ng, γκ → nk); "nasal-except-kappa" does so except before kappa (γκ → gk), as ISO 843 Type 2 does; "nasal-medial-kappa" writes γκ as nk inside a word and gk at its beginning or end, as ALA-LC does for Modern Greek, so that nk there reads back as νκ (Φρανκ → Phrank); "literal" always writes g.
| Value | Greek → transliteration | Presets |
|---|---|---|
"nasal" (default) |
ἀνάγκη → anánkē γκρι → nkri ἄγγελος → ángelos |
|
"nasal-except-kappa" |
ἀνάγκη → anágkē | iso-843-type-2 |
"nasal-medial-kappa" |
γκρι → gkri | ala-lc-modern |
"literal" |
ἄγγελος → ággelos | iso-843-type-1 |
transliteration.long_vowels
Section titled “transliteration.long_vowels”Length mark of eta and omega in transliteration: "macron", "circumflex", "grave-circumflex" (è, ô), or "omit". Defaults to "macron"; "circumflex" cannot be combined with circumflex_accent="circumflex", and "grave-circumflex" requires diacritics.accents: "remove".
Selects the mark that shows the length of eta and omega in transliteration: a macron (ē, ō), a circumflex (ê, ô), a grave on eta and a circumflex on omega (ἠώς → èôs, as French academic writing has it: hylè, technè, khôra), or none (e, o, as in ISO 843 Type 2). The letter that carries it on eta is chosen by transliteration.eta. The same mark distinguishes stigma and sampi from c and s (c̄, ĉ); under "grave-circumflex", they take the circumflex, and under "omit", the macron. Explicit philological macrons remain independent semantic marks.
"omit" writes eta and omega like epsilon (or iota) and omicron, so they are read back as those letters. "circumflex" cannot be combined with circumflex_accent="circumflex", which would write the length mark and the accent alike. "grave-circumflex" requires diacritics.accents: "remove", as the usage writes no Greek accent: the grave of eta would be written as the grave accent of epsilon. Read under it, è and ê are eta, and ô is omega.
| Value | Greek → transliteration | Presets |
|---|---|---|
"macron" (default) |
Ἕλλησιν → Héllēsin | |
"circumflex" |
Ἕλλησιν → Héllêsin | |
"grave-circumflex" |
Ἕλλησιν → Hellèsin | |
"omit" |
Ἕλλησιν → Héllesin | iso-843-type-2 |
transliteration.circumflex_accent
Section titled “transliteration.circumflex_accent”Circumflex accent in transliteration. Defaults to "tilde" (U+0303); "circumflex" cannot be combined with long_vowels="circumflex".
Selects the combining mark used for a transliterated circumflex accent.
| Value | Greek → transliteration | Presets |
|---|---|---|
"tilde" (default) |
τῶν → tō̃n | |
"circumflex" |
τῶν → tō̂n | bnf-ancient, iso-843-type-1, iso-843-type-2 |
transliteration.quantity
Section titled “transliteration.quantity”Explicit macron/breve in transliteration. Defaults to "preserve".
Selects whether explicit source quantity marks appear in Latin output.
| Value | Greek → transliteration | Presets |
|---|---|---|
"preserve" (default) |
ᾱ̓́ → ā́ | |
"omit" |
ᾱ̓́ → á | bnf-ancient |
transliteration.smooth_breathing
Section titled “transliteration.smooth_breathing”Smooth breathing in transliteration; "apostrophe" prefixes the vowel group of a word, and reads back before it. Defaults to "omit".
Selects whether a known smooth breathing is rendered on a Latin letter.
| Value | Greek → transliteration | Presets |
|---|---|---|
"omit" (default) |
ἐγένετο → egéneto | |
"greek" |
ἐγένετο → e̓géneto | bnf-ancient |
"apostrophe" |
ἐγένετο → ’egéneto | iso-843-type-1, iso-843-type-2 |
transliteration.coronis
Section titled “transliteration.coronis”Coronis representation in transliteration. Defaults to "omit".
Selects how a semantic coronis is represented in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"omit" (default) |
κἀγώ → kagṓ | |
"apostrophe" |
κἀγώ → ka’gṓ | iso-843-type-1, iso-843-type-2 |
"greek" |
κἀγώ → ka᾽gṓ | bnf-ancient |
transliteration.hyphen
Section titled “transliteration.hyphen”Transliteration hyphen. Defaults to "ascii".
Selects ASCII or typographic hyphen in transliteration output.
| Value | Greek → transliteration | Presets |
|---|---|---|
"ascii" (default) |
πολυ-λογία → poly-logía | |
"typographic" |
πολυ-λογία → poly‐logía | bnf-ancient |
transliteration.keraia
Section titled “transliteration.keraia”Keraia marks in transliteration. Defaults to "greek"; "bnf" is not always reversible.
Selects Greek keraia marks or the BnF comma and combining acute in Latin output. Under "bnf", an acute after a consonant reads back as the right keraia, which a consonant cannot bear as an accent, and a comma before c̄ or s̄, the stigma and sampi of numerals, as the left keraia; after a vowel, the acute reads back as an accent (αʹ and ά are both á). When the acute accents are removed, the right keraia is written ʹ, which an acute would not survive, and so it is under monotonic accentuation after the vowel of a numeral of one syllable, whose accent would go (καʹ → kaʹ).
| Value | Greek → transliteration | Presets |
|---|---|---|
"greek" (default) |
ϛʹ → c̄ʹ | |
"bnf" |
ϛʹ → c̄́ | bnf-ancient |
transliteration.enotikon
Section titled “transliteration.enotikon”Transliteration of Greek enotikon (U+203F). Defaults to "preserve".
Preserves the enotikon or renders it as an ambiguous Latin hyphen.
| Value | Greek → transliteration | Presets |
|---|---|---|
"preserve" (default) |
πολυ‿λογία → poly‿logía | |
"hyphen" |
πολυ‿λογία → poly-logía | iso-843-type-1, iso-843-type-2 |
transliteration.ano_teleia
Section titled “transliteration.ano_teleia”Transliteration of the Greek ano teleia. Defaults to "semicolon"; "middle-dot" writes ·, which reads back as the ano teleia.
Selects the Latin sign of the ano teleia: the semicolon, which the romanization tables give, or the middle dot (·, U+00B7), which Greek writes. The reader reads the semicolon as the ano teleia either way, and the middle dot under "middle-dot" only: elsewhere, a middle dot in Latin text is kept as it is.
| Value | Greek → transliteration | Presets |
|---|---|---|
"semicolon" (default) |
βαρβάρων· → barbárōn; | |
"middle-dot" |
βαρβάρων· → barbárōn· |
transliteration.lunate_sigma
Section titled “transliteration.lunate_sigma”Provenanced lunate sigma transliteration. Defaults to "s".
Selects s or c for a provenanced lunate sigma in transliteration.
| Value | Greek → transliteration | Presets |
|---|---|---|
"s" (default) |
ϲοφία → sophía | |
"c" |
ϲοφία → cophía | bnf-ancient |
transliteration.archaic_koppa
Section titled “transliteration.archaic_koppa”Archaic-koppa transliteration. Defaults to "k-dot-below"; BnF uses "q".
Selects the transliteration emitted for archaic koppa.
| Value | Greek → transliteration | Presets |
|---|---|---|
"k-dot-below" (default) |
ϙ → ḳ | |
"q" |
ϙ → q | bnf-ancient |
How Greek is written: letter shapes, accentuation, assimilation, and the Unicode form of the output. sigma, final_sigma, and double_rho also shape Beta Code, which writes Greek in ASCII. accentuation shapes every format, since Beta Code and transliteration spell the accents of Greek: monotonic accentuation writes the monotonic text in each, and reading transliteration then infers no smooth breathing, which monotonic Greek has not.
greek.sigma
Section titled “greek.sigma”Sigma glyph policy. Defaults to "preserve", which keeps a lunate sigma the source notes.
Selects the sigma glyph of Greek and Beta Code output. "preserve" writes a lunate sigma where the source notes one (ϲ, Beta Code s3), numerals included, and a standard sigma elsewhere; "standard" writes every sigma as σ or ς; "lunate" writes every sigma as ϲ, except in numerals.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ϲοφία → ϲοφία Ἕλλησιν → Ἕλλησιν |
|
"standard" |
ϲοφία → σοφία | |
"lunate" |
Ἕλλησιν → Ἕλληϲιν |
greek.final_sigma
Section titled “greek.final_sigma”Lowercase final sigma policy in Greek output. Defaults to "preserve", which retains the sigma shapes the source notes (Greek σ and ς, Beta Code s1 and s2) and places any other sigma by its position, such as a sigma read from Beta Code s or a lunate sigma written as a standard sigma; "contextual" places every sigma by its position, correcting a shape the source notes. A sigma before an elision apostrophe is not at the end of its word.
Selects the shape of a standard sigma in lowercase Greek output. "preserve" writes the shape the source notes, and places by its position a sigma whose shape the source does not note; "contextual" places every sigma by its position (ς at the end of a word, σ elsewhere); "medial" writes σ everywhere. Under "preserve", Beta Code writes a noted shape that contradicts the place as s1 (σ) or s2 (ς), as the TLG defines them; otherwise it writes s, whose shape the place decides.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
λόγοσ → λόγοσ λέγεις → λέγεις |
|
"contextual" |
λόγοσ → λόγος | |
"medial" |
λέγεις → λέγεισ |
greek.medial_beta
Section titled “greek.medial_beta”Beta glyph. Defaults to "preserve", which keeps a ϐ the source notes.
Selects the beta of Greek output. "preserve" writes ϐ where the source notes it and β elsewhere; "symbol" writes ϐ inside a word and β at its start, as French typography does, whatever the source; "standard" writes β everywhere.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ϐίος → ϐίος βαρβάρων → βαρβάρων |
|
"standard" |
ϐίος → βίος | |
"symbol" |
βαρβάρων → βαρϐάρων |
greek.symbol_forms
Section titled “greek.symbol_forms”Symbol forms of letters, such as ϑ. Defaults to "preserve".
Selects the symbol forms of letters in Greek output: ϑ, ϴ, ϕ, ϖ, ϰ, ϱ, ϵ, and ϒ with its accented forms ϓ and ϔ, and the final sigma ς written for a stigma as the units of a numeral (ιςʹ, 16). "preserve" writes those the source notes, and "standard" the ordinary letters (ιϛʹ). No value writes a symbol form where the source has an ordinary letter, which Unicode reserves them for mathematics. The beta symbol ϐ follows medial_beta, and the lunate sigma ϲ follows sigma.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ϑεός → ϑεός | |
"standard" |
ϑεός → θεός |
greek.ligatures
Section titled “greek.ligatures”Signs that stand for several letters, such as ϗ for και. Defaults to "preserve".
Selects how Greek output writes the signs that stand for several letters, which reading the source gives as those letters: the καί symbol ϗ (και), the ου ligature ȣ (ου), and the στ ligature ϛ that stigma="ligature" reads. "preserve" writes the signs the source has, and "standard" the letters. No value writes a sign where the source has the letters. Beta Code writes the TLG codes of ϗ and Ϗ (#1532, #1531) and of the capital Ȣ (#1521) under "preserve", and transliteration always writes the letters.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ϗ → ϗ | |
"standard" |
ϗ → και |
greek.stigma
Section titled “greek.stigma”How a stigma between two letters is read, in every format. Defaults to "letter"; "ligature" reads σ and τ.
Selects how a stigma between two letters is read, in every format (ϛ, Beta Code #2, transliteration c̄). "letter" reads it as the letter stigma, the numeral six (ἐϛὶ gives ec̄ì); "ligature" as σ and τ, which older printing joined in that sign (ἐϛὶ gives estì). A stigma after a letter but before none (ιϛ), or before a keraia, is read as the letter either way. This option bears on reading only: Greek output writes ϛ for στ only where the source has it, under ligatures="preserve".
| Value | Greek → Beta Code | Presets |
|---|---|---|
"letter" (default) |
ἐϛὶ → e)#2i</code> |
|
"ligature" |
ἐϛὶ → e)sti</code> |
greek.kai_accent
Section titled “greek.kai_accent”The accent of καί written for ϗ as letters. Defaults to "none"; "byzantine" writes the grave, "modern" follows modern editions.
Selects the accent written on καί where the καί symbol ϗ, which marks none, is written as letters: in transliteration, and in Greek and Beta Code under ligatures="standard". "none" writes no accent (και, kai). "byzantine" writes the grave, as Byzantine manuscripts do even before punctuation (καὶ). "modern" follows modern editions: the acute before punctuation, at the end of the text, and before an enclitic (καί τινες, καί μ’), and the grave elsewhere (καὶ ὁ, καὶ ἔστι, καὶ τίς). Where the form alone does not decide, it writes the grave before οἱ and before an accented enclitic, and the acute before a comma and σ’. No accent is written on a sign that has one, in capitals, or in a text with no polytonic mark (a breathing, a grave, a circumflex, an iota subscript, a coronis, or a quantity mark), which may be monotonic or unaccented. Each accent written is reported as an added diacritic.
| Value | Greek → transliteration | Presets |
|---|---|---|
"none" (default) |
ϗ → kai | |
"byzantine" |
ϗ → kaì | |
"modern" |
ϗ → kaì |
greek.iota_subscript
Section titled “greek.iota_subscript”Where a kept iota subscript is written. Defaults to "subscript"; whether it is kept is diacritics.iota_subscript.
Selects where Greek output writes a kept iota subscript.
"subscript" writes it below the line, and after a capital as the prosgegrammeni (ᾳ, ᾼ). "capital-adscript" writes it on the line after a capital, as Smyth (§ 5) describes and as Unicode’s uppercase mapping does (ᾨδῇ → Ὠιδῇ, ΤΗΙ ΩΙΔΗΙ), and below the line elsewhere; "adscript" writes it on the line after every vowel (τῶι), as some editions and papyrological transcriptions do. An iota written on the line reads back as the letter iota, so a conversion that writes one reports the loss of the subscript.
| Value | Greek → Greek | Presets |
|---|---|---|
"subscript" (default) |
ᾨδῇ → ᾨδῇ ᾠδῇ → ᾠδῇ |
|
"capital-adscript" |
ᾨδῇ → Ὠιδῇ | |
"adscript" |
ᾠδῇ → ὠιδῆι |
greek.capital_marks
Section titled “greek.capital_marks”The marks of a word in capitals in Greek output. Defaults to "omit", which writes words in capitals without accents or breathings, as Greek usage does; "preserve" writes them.
Selects the marks of a word in capitals in Greek output. "omit", the default, follows Greek usage, which writes words in capitals without accents: a word in capitals takes no accent, breathing, coronis, or quantity mark, keeps its diaeresis, and takes one on the second of two vowels where a mark on the first showed their hiatus (Μάιος → ΜΑΪΟΣ, ἀίδηλος → ΑΪΔΗΛΟΣ), or an iota adscript, which it cannot tell from a hiatus (Ἅιδης → ΑΪΔΗΣ); the disjunctive ή keeps its accent, which tells it from the article (Ή, from ή, ἤ, or ἢ). A word is in capitals when all its letters are, and a word of one letter when the nearest word on either side is in capitals and neither is in small letters (Ο ΛΟΓΟΣ, Η Δ’ ΟΣ), or the text is set in capitals (text.letter_case: "uppercase"); a capital that begins a word in small letters keeps its marks (Έλληνας). The search for the nearest word passes the words of one letter, and stops at a number or a numeral, past which it finds none (ΘΕΟΣ ιβʹ Ὁ keeps its marks). The iota subscript follows iota_subscript, whose "capital-adscript" writes it as a letter after a capital (ΤΗΙ ΩΙΔΗΙ). Each mark removed and each diaeresis written is reported. "preserve" writes every mark the document has (ΜΆΙΟΣ, ἈΘΗ͂ΝΑΙ), as an edition that prints them does. Beta Code and transliteration keep the marks, which they write on capitals.
| Value | Greek → Greek | Presets |
|---|---|---|
"omit" (default) |
ΜΆΙΟΣ → ΜΑΪΟΣ | |
"preserve" |
ΜΆΙΟΣ → ΜΆΙΟΣ |
greek.double_rho
Section titled “greek.double_rho”Double-rho marks in Greek output. Defaults to "unmarked".
Controls marks added to a pair of consecutive rho in Greek output.
| Value | Greek → Greek | Presets |
|---|---|---|
"unmarked" (default) |
ἄρρητος → ἄρρητος | |
"smooth-rough" |
ἄρρητος → ἄῤῥητος |
greek.dental_sigma
Section titled “greek.dental_sigma”Dental assimilation before sigma. Defaults to "preserve".
Preserves a dental before sigma or applies the lossy assimilation.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ἐλπίδσι → ἐλπίδσι | |
"assimilate" |
ἐλπίδσι → ἐλπίσι |
greek.elided_stop
Section titled “greek.elided_stop”An elided π, τ, or κ before a rough breathing. Defaults to "preserve", which keeps the consonant the source writes; "aspirate" writes φ, θ, or χ.
Selects how Greek output writes a final π, τ, or κ whose vowel is elided before a word with a rough breathing. "preserve" keeps the consonant the source writes: ἀπ’ οὗ, as Ionic prose and many editions have it, stays, and so does ἀφ’ οὗ. "aspirate" writes the aspirated consonant that Attic spelling requires (ἀπ’ οὗ → ἀφ’ οὗ, κατ’ ἡμέραν → καθ’ ἡμέραν); the conversion then reports the consonant it replaced as lost. Beta Code and transliteration write the consonant of the source in either case.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ἀπ’ → ἀπ’ | |
"aspirate" |
ἀπ’ → ἀφ’ |
greek.accentuation
Section titled “greek.accentuation”Greek accentuation system, in every format. Defaults to "polytonic"; "monotonic" follows the monotonic rules, monosyllables included, as far as the written text allows, and Beta Code and transliteration spell the result as Greek output writes it.
Selects polytonic output or a mechanical, lossy monotonic transformation, in every format.
| Value | Greek → Greek | Presets |
|---|---|---|
"polytonic" (default) |
Ἕλλησιν → Ἕλλησιν | |
"monotonic" |
Ἕλλησιν → Έλλησιν |
greek.composition
Section titled “greek.composition”Composed or decomposed output. Defaults to "composed".
Selects composed or canonically decomposed Greek Unicode output.
| Value | Greek → Greek | Presets |
|---|---|---|
"composed" (default) |
Ἕλλησιν → Ἕλλησιν (U+1F1D) | |
"decomposed" |
Ἕλλησιν → Ἕλλησιν (U+0395 U+0314 U+0301) |
greek.acute
Section titled “greek.acute”Tonos/oxia preference for eligible acute vowels. Defaults to "system": oxia in output that carries a polytonic mark, tonos otherwise.
Selects the composed Unicode form of an acute where Unicode has two: the tonos (ά, U+03AC), which is also what NFC gives, or the oxia (ά, U+1F71). "system" writes the oxia when the Greek output carries a polytonic mark (a breathing, a grave, a circumflex, an iota subscript, a coronis, or a quantity mark) and the tonos when it carries none, as monotonic text is written and as accentuation="monotonic" writes it. The choice is made for the whole output of one conversion: a polytonic text converted word by word needs "oxia" to write every acute alike.
| Value | Greek → Greek | Presets |
|---|---|---|
"system" (default) |
ἐγένετο → ἐγένετο (U+1F73) ϲοφία → ϲοφία (U+03AF) |
|
"tonos" |
ἐγένετο → ἐγένετο (U+03AD) | |
"oxia" |
ϲοφία → ϲοφία (U+1F77) |
greek.question_mark
Section titled “greek.question_mark”Greek question-mark scalar. Defaults to "canonical".
Selects the Unicode scalar used for Greek question marks.
| Value | Greek → Greek | Presets |
|---|---|---|
"canonical" (default) |
λέγεις; → λέγεις; (U+003B) | |
"semicolon" |
||
"greek" |
λέγεις; → λέγεις; (U+037E) | bnf-ancient |
greek.ano_teleia
Section titled “greek.ano_teleia”Greek ano-teleia scalar. Defaults to "canonical".
Selects the Unicode scalar used for Greek ano teleia.
| Value | Greek → Greek | Presets |
|---|---|---|
"canonical" (default) |
βαρβάρων· → βαρβάρων· (U+00B7) | |
"middle-dot" |
||
"greek" |
βαρβάρων· → βαρβάρων· (U+0387) |
beta_code
Section titled “beta_code”How Beta Code is written.
beta_code.case
Section titled “beta_code.case”Insignificant ASCII letter case of Beta Code output. Defaults to "lowercase".
Selects the insignificant ASCII letter case used in Beta Code output.
| Value | Greek → Beta Code | Presets |
|---|---|---|
"lowercase" (default) |
Ἕλλησιν → *(/ellhsin |
perseus |
"uppercase" |
Ἕλλησιν → *(/ELLHSIN |
tlg-core |
beta_code.yot
Section titled “beta_code.yot”Beta Code spelling of yot. Defaults to "j"; TLG uses "#401".
Selects the Beta Code spelling emitted for yot.
| Value | Greek → Beta Code | Presets |
|---|---|---|
"j" (default) |
ϳ → j |
|
"#401" |
ϳ → #401 |
tlg-core |
Transformations of the text as a whole, in every output format.
text.letter_case
Section titled “text.letter_case”Semantic letter case applied to recognized graphemes. Defaults to "preserve".
Selects the mechanical case transformation applied during rendering.
"preserve" keeps the case of the source. In transliteration, a capital spelled with several Latin letters (TH, CH, PS, and the H of a rough breathing or of rho) is written in full capitals among capitals, and with its first letter only before lowercase text, which ISO 843 allows (note 11): ΘΑΛΑΣΣΑ → THALASSA, Θάλασσα → Thálassa. A diphthong of two capitals with a rough breathing keeps both before lowercase text, its second letter being a capital of its own (ΕἹα → HEIa). A capital on its own, such as a letter name, takes the case of the nearest words on either side, Latin words included, as a word of one letter does in Greek: in full capitals where they are in capitals and none is in small letters (ΘΕΟΣ Θ → THEOS TH, ABC Θ → ABC TH), and with its first letter only elsewhere, before a period, as an initial, included (Θ, θ → Th, th, Θ. → Th.). A number or a numeral ends the search on its side (ΘΕΟΣ ιβʹ Θ → THEOS ibʹ Th). So does a vowel with a rough breathing on its own, such as the article (ΚΑΙ Ὁ ΛΟΓΟΣ → KAI HO LOGOS, Ὁ δὲ → Ho dè).
"title" capitalizes the first letter of each word; an apostrophe between two letters, as a coronis written so (Ka’gṓ), does not start a word.
| Value | Greek → transliteration | Presets |
|---|---|---|
"preserve" (default) |
Ἕλλησιν → Héllēsin ἐγένετο → egéneto |
|
"lowercase" |
Ἕλλησιν → héllēsin | |
"uppercase" |
Ἕλλησιν → HÉLLĒSIN | |
"title" |
ἐγένετο → Egéneto |
text.whitespace
Section titled “text.whitespace”Whitespace rendering. Defaults to "preserve".
Preserves whitespace, or collapses it: "collapse" trims the text and reduces each run of Unicode whitespace to one space.
| Value | Greek → transliteration | Presets |
|---|---|---|
"preserve" (default) |
||
"collapse" |
text.numerals
Section titled “text.numerals”Alphabetic or decimal numeral output. Defaults to "alphabetic".
Preserves marked alphabetic numerals or renders valid groups as decimals.
| Value | Greek → transliteration | Presets |
|---|---|---|
"alphabetic" (default) |
ϛʹ → c̄ʹ | |
"decimal" |
ϛʹ → 6 | ala-lc-ancient, ala-lc-modern |
diacritics
Section titled “diacritics”Which semantic diacritics are kept. all sets every class at once; a class named alongside it is the exception: {"all": "remove", "rough_breathing": "preserve"}. The shorthand is expanded where it is written, so all in the caller’s options overrides every class a preset set.
Removing a class removes its marks from the output in every format. In transliteration the rough breathing is a letter, h: it goes with its class, so {"all": "remove", "rough_breathing": "preserve"} keeps it. The letters stay as they are spelled: in transliteration, eta and omega keep the length mark that long_vowels selects (η → ē, ω → ō by default), which spells the letter and is not a diacritic.
diacritics.all
Section titled “diacritics.all”Disposition of every class not named alongside.
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" |
||
"remove" |
Ἕλλησιν → Ελλησιν |
diacritics.accents
Section titled “diacritics.accents”Accent marks: acute, grave, and circumflex. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
Ἕλλησιν → Ἕλλησιν | |
"remove" |
Ἕλλησιν → Ἑλλησιν | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.smooth_breathing
Section titled “diacritics.smooth_breathing”Initial smooth breathing marks. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ἐγένετο → ἐγένετο | |
"remove" |
ἐγένετο → εγένετο | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.rough_breathing
Section titled “diacritics.rough_breathing”Initial rough breathing marks. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
Ἕλλησιν → Ἕλλησιν | ala-lc-ancient, ala-lc-modern, sbl-general |
"remove" |
Ἕλλησιν → Έλλησιν |
diacritics.coronis
Section titled “diacritics.coronis”Internal coronides marking crasis. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
κἀγώ → κἀγώ | |
"remove" |
κἀγώ → καγώ | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.diaeresis
Section titled “diacritics.diaeresis”Diaeresis marks. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ὑϊός → ὑϊός | |
"remove" |
ὑϊός → ὑιός | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.iota_subscript
Section titled “diacritics.iota_subscript”Iota subscripts. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ᾠδῇ → ᾠδῇ | |
"remove" |
ᾠδῇ → ὠδῆ | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.quantity
Section titled “diacritics.quantity”Explicit macron and breve quantity marks. Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
ᾱ̓́ → ᾱ̓́ | |
"remove" |
ᾱ̓́ → ἄ | ala-lc-ancient, ala-lc-modern, sbl-general |
diacritics.overline
Section titled “diacritics.overline”The overline of abbreviations and numerals, such as the nomina sacra (θ̅ς̅). Defaults to "preserve".
| Value | Greek → Greek | Presets |
|---|---|---|
"preserve" (default) |
θ̅ς̅ → θ̅ς̅ | |
"remove" |
θ̅ς̅ → θς | ala-lc-ancient, ala-lc-modern, sbl-general |