OpenGlyph-OCR-IDS / reading.json
astromandarin's picture
OpenGlyph-OCR-IDS: first release
20fc05e verified
Raw History Blame Contribute Delete
1.39 kB
{
"top": 3,
"rule": {
"a": 1,
"b": 1,
"how": "mean",
"t": -1,
"m": 0.5,
"flat": true
},
"offset": 8,
"gate": null,
"gate_b": -0.5,
"gates_by": {
"a coded character | a glyph token": -0.25,
"a coded character | a rare character": -2.0,
"a glyph with a token | a glyph token": null,
"a glyph with a token | a rare character": -2.0,
"a new glyph | a glyph token": -0.5,
"a new glyph | a rare character": -2.0,
"forced: a coded character | a glyph token": -0.25,
"forced: a coded character | a rare character": -0.25,
"forced: a glyph with a token | a glyph token": null,
"forced: a new glyph | a glyph token": null,
"forced: a new glyph | a rare character": -0.1
},
"open_hard": "speller",
"note": "the settings OpenGlyph-OCR-IDS was measured with, chosen on tuning lines (never on a test): offset = what is added to the opener's evidence that an IDS begins; gate = how surely the unfolding must read for its IDS to stand alone (null: only where the speller writes the same glyph); gate_b and gates_by = how surely the speller must spell for its IDS to stand, by the kind of place (\"forced: ...\" = a place the opener did not ask for, read because the reader writes a rare character or a glyph token there; null = never); open_hard = such places are read by the speller; top = the structures tried; rule = how the unfolding chooses among its cuts"
}