Skip to content
Nyshporka Sign in

Nyshporka 0.46: the new Pysar and Diak, and search that understands old letters

v0.46.0
Contents
  1. New models: before and after
  2. Search understands old letters
  3. New search store
  4. What else
  5. Good to know
  6. How to update

This update has three parts: new weights for both Cyrillic models, search that maps the letters of old writing to modern ones, and a new search store.

New models: before and after

Pysar v31 was trained further on the cursive of the 18th century (the Rumyantsev survey, checked against the scholarly edition) and on 59 hands of parish registers and confessional rolls of the Kyiv Consistory of the 19th–20th centuries. Diak-Litopysets v15 was trained further only on the lines whose reading has the highest confidence.

Pysar v29 → v31:

What was measured Before After
18th-century cursive (Rumyantsev survey): wrongly read characters 20.7 % 8.8 %
Same: proper names read correctly 75 % 95 %
Parish registers of the 20th century, hands that were not in the training: verified surnames found in the reading 65.3 % 70.3 %
Same, parish registers of the 19th century 82.0 % 81.6 %
Confessional rolls: wrongly read characters 11.3 % 9.6 %
Surnames checked by eye in 2,743 records 56.1 % 56.7 %

Diak-Litopysets v12 → v15:

What was measured Before After
Sought surname on a sheet, mentions checked by eye 74.4 % 75.6 %
18th-century cursive: wrongly read characters 18.3 % 15.2 %

The 18th-century cursive figures for Pysar were taken after the first step of further training (v30) on the same hand that was in the training; v31 was not measured separately on this hand. On parish registers of the 19th century there is no gain: the new model reads them the same way as the previous one.

Search understands old letters

Models for the writing of the 16th–18th centuries transmit the text letter by letter: "Рꙋденко", "Ѯенія", "Алеѯандръ". Search now maps ꙋ, ѹ, ѯ, ѱ, ѿ, ѧ, ꙗ, ѥ, ꙃ, ѻ, ѷ to modern letters, and "Руденко" finds "Рꙋденко". The same mapping also works in Supriaha: the surname index of the books has been moved to the new rule.

The letters ѫ, џ, ꙟ are not mapped: their value depends on the language of the record.

New search store

The store of the read text is now half the size and is built several times faster. The format has changed, so after the update it must be rebuilt once: nysh text index without a case name. The command builds the new store from the read text and removes the old file by itself. Until this is done, search with old letters will not work on text that has already been read.

What else

  • nysh cases cards reads the "start of case" and "end of case" cards on the film and builds a map of case boundaries.
  • nysh cases join <тека> --undo undoes the joining of a case from several films.
  • A case without a real title will not go to Supriaha by itself: nysh share pack will ask for the title from the title page.
  • The crop of a checked line that goes to Supriaha is cut along the outline of the line, without the neighbouring lines.

Good to know

  • Text read with the old weights remains valid. Re-reading already read cases is not required.
  • The old weights are not removed from the disk and keep reading until you install the new ones.
  • For the surname subscription and search in Supriaha to map letters the same way as the server, the client must be updated.

How to update

nysh update, then nysh migrate, nysh models get and nysh text index. Or a new nyshporka-setup.exe over the old one, and then nysh models get and nysh text index.

Or tell the assistant: "update Nyshporka, install the new weights and rebuild the store".

Other updates