Coder Social home page Coder Social logo

Comments (5)

bertsky avatar bertsky commented on June 25, 2024

You surely mean between some element's TextEquiv:Unicode and its sub-component element's TextEquiv:Unicode, as in:

  • between TextRegion and its TextLine sequence
  • between TextLine and its Word sequence
  • between Word and its Glyph sequence

Should the consistency principle not be added to the spec in PAGE.md?

I sometimes use XSL transformations to concatenate sub-components (joining them by whitespace or newline, depending on position) – maybe this is a good starting point for such schematron. If you think those would in fact be useful, where can I put them?

(But then again, why not add a function to WorkspaceValidator.validate() in core instead?)

from assets.

kba avatar kba commented on June 25, 2024

Should the consistency principle not be added to the spec in PAGE.md?

It should.

Why not add a function to WorkspaceValidator.validate() in core instead?

We could. Preferably define it in the spec first and then implement it referring to it.

from assets.

bertsky avatar bertsky commented on June 25, 2024

Shouldn't we at least start an issue on core to support PAGE-related consistency in WorkspaceValidator.validate() before closing here? The problem is that we might have to actually look at the GT data in order to get the consistency principle right in the details. See this comment.

from assets.

kba avatar kba commented on June 25, 2024

Sure. Closed it because I thought OCR-D/spec#82 would be the fix, but that's just the spec not implementation.

from assets.

kba avatar kba commented on June 25, 2024

Implemented in OCR-D/core#223

from assets.

Related Issues (20)

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.