Coder Social home page Coder Social logo

manuscripta's Introduction

Manuscripta

The original idea was to structure the code in this repository as a Python package. This is, however, still unfinished. The repository contains now three larger example scripts that address different work phases when working with text recognition materials, especially in the context of Transkribus. The main idea is to extract the data and manipulate it so that it can be further processed with different NLP libraries, such as UralicNLP and murre.

Functionality

Editing Page XML files

Script processing_page_xml.py contains an example file used in Manuscripta Castreniana project to edit some of the proofread files. The same mechanism can be extended to different tasks.

Transkribus API

Script transkribus_api.py contains examples of how to use Transkribus API to investigate user collections and to retrieve documents. There is an example about saving all ground truth files into their own directory for further manipulation.

Editing Ground Truth data

Script edit_ground_truth.py contains examples of extracting the line polygons from Page XML, visualizing their locations with different parameters, and collecting individual lines into OCR model training experiments. The current structure

Transliteration

It is an extremely common issue that manuscripts or printed books contain texts in endangered languages in writing or transcription systems that are not widely used, possibly being used only in these documents. One convention our research group has used is transliteration, so that we apply rule based patterns into the original text, bringing it closer to current orthography. This works often very well when we operate on phonemic transcription systems in languages that have phonemic orthographies. Script lat2cyr_kpv.py illustrates this in Komi context.

manuscripta's People

Contributors

nikopartanen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.