OCR for ancient Greek: Difference between revisions
ElliMylonas (talk | contribs) (→Tools and advice for the Optical Character Recognition (OCR) of Ancient Greek: remove mention of defunct software Anagnostis) |
(definition and request for more examples) |
||
Line 1: | Line 1: | ||
== | ==Definitions== | ||
'''Optical Character Recognition''' or '''OCR''' is the process of using software to reading analogue, printed texts (or raster images of such text) and interpret it as character data, usually using probabilistic pattern-recognition methods. It is related to, but more usually more straightforward than, [[Handwritten Text-Recognition]] (HTR). OCR is relatively easy to perform on modern printed text, but struggles significantly more with: older print and non-standrd fonts; less-common languages with complex diacritical systems; historical language not normally of interest to the AI and intelligence communities who invest a lot in text analysis applications. Ancient Greek is at the intersection of all these difficulties, and has traditionally been among the most difficult printed languages to OCR. The [[TLG]], for example, has compiled hundreds ofmillions of words of Greek literature through outsourced manual keying, rather than even attempting OCR. | |||
However, there have recently been several more successful attempts at applying OCR to Ancient Greek, especially involving shared training sets and machine learning approaches. Please add more recent examples and discussion below. | |||
==Projects== | |||
* Million Books Project | |||
* Perseus Digital Library | |||
* First Thousand Years of Greek | |||
* Open Greek and Latin | |||
[[Lace: Greek OCR]] | |||
==Tools, recommendations and policies== | |||
* [http://ancientgreekocr.org Ancient Greek OCR] provides downloads and instructions for OCR using the [http://code.google.com/p/tesseract-ocr Tesseract] engine. Works on Windows, Linux, OSX & Android. | * [http://ancientgreekocr.org Ancient Greek OCR] provides downloads and instructions for OCR using the [http://code.google.com/p/tesseract-ocr Tesseract] engine. Works on Windows, Linux, OSX & Android. |
Revision as of 11:58, 30 June 2022
Definitions
Optical Character Recognition or OCR is the process of using software to reading analogue, printed texts (or raster images of such text) and interpret it as character data, usually using probabilistic pattern-recognition methods. It is related to, but more usually more straightforward than, Handwritten Text-Recognition (HTR). OCR is relatively easy to perform on modern printed text, but struggles significantly more with: older print and non-standrd fonts; less-common languages with complex diacritical systems; historical language not normally of interest to the AI and intelligence communities who invest a lot in text analysis applications. Ancient Greek is at the intersection of all these difficulties, and has traditionally been among the most difficult printed languages to OCR. The TLG, for example, has compiled hundreds ofmillions of words of Greek literature through outsourced manual keying, rather than even attempting OCR.
However, there have recently been several more successful attempts at applying OCR to Ancient Greek, especially involving shared training sets and machine learning approaches. Please add more recent examples and discussion below.
Projects
- Million Books Project
- Perseus Digital Library
- First Thousand Years of Greek
- Open Greek and Latin
Tools, recommendations and policies
- Ancient Greek OCR provides downloads and instructions for OCR using the Tesseract engine. Works on Windows, Linux, OSX & Android.
- Antigrapheus allows you to use the Ancient Greek OCR training file above to OCR documents in a web browser, using Tesseract.js.
- Bruce Robertson has created "Rigaudon", "a complete suite of scripts, python code and data required for producing polytonic Greek OCR"
- Rigaudon GitHub page
- Lace: Greek OCR collects results of OCR processing with Rigaudon on public domain texts
- Initial reports on preliminary results of a survey of techniques: http://www.heml.org/RobertsonGreekOCR/
- A number of people have produced training files for specific Greek fonts in the Kraken OCR engine:
- Greek Cursive, from an edition of John Chrysostom's works by Henry Savile
- Greek from an edition of Theodorus Gaza's Attic paraphrase of the Iliad
- Greek models in the Kraken models repo (these are in the legacy pyrnn model format and may not work with the latest version of Kraken, see this issue)
- The Gamera toolkit for analysing and scanning complex texts includes some experiments with polytonic Greek
- Federico Boschetti did some earlier experimentation with adapting/training Google's OCR engine tesseract to ancient Greek texts: http://www.himeros.eu/ (related paper)
- ABBYY FineReader can be made to work with ancient Greek with extensive training
- Google Docs now allows you to have it do OCR on uploaded documents in a variety of languages, and you can get some results by specifying "Greek" and uploading a PDF (images seem not to work). Quality is about on the level of Google Books OCR of printed ancient Greek.
Alternatives
- AccessTEI is a service for members of the TEI for manual keying of texts which can handle ancient Greek