convertGreekPassagesDetailed
convertGreekPassagesDetailed(
input,to,options?):ConversionResult
Defined in: src/core.ts:287 (opens in a new tab)
convertGreekPassages, with the losses and the spans of
convertDetailed: convertGreekPassagesDetailed() from the main
entry point. The format of the output is given whole, as
transliterationFormat, since the output is read back.
Parameters
Section titled “Parameters”string
The reader and writer of the passages’ format in the output.
options?
Section titled “options?”A preset from ./presets, or what prepareOptions
returns; the defaults if omitted.
Returns
Section titled “Returns”Example
Section titled “Example”import { convertGreekPassagesDetailed } from "@humanities/greek-conversion/core";import { betaCodeFormat } from "@humanities/greek-conversion/beta-code";
convertGreekPassagesDetailed("voir ϐίϐλος ;", betaCodeFormat).lossy;// → trueThrows
Section titled “Throws”If input is not a string, to not a reader and
writer, or options not prepared options.