Git Product home page Git Product logo

lace2's People

Contributors

brobertson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

duncdrum

lace2's Issues

Load page number metadata

If a verified word corresponds to a page number zone, then add a @data-page-number attribute to

element that stores this info.

This might need to be some sort of compile step, rather than automatic.

refactor code pertaining to package identification

dc:identifier is not a good key, since it isn't present in other packages, requiring a non-optimized search through them. Instead, use code like:

xquery version "3.1";
import module namespace apputil="http://exist-db.org/xquery/apps";
import module namespace repo="http://exist-db.org/xquery/repo";
let $root := repo:get-root()
let $uri := "http://heml.mta.ca/Lace/Images/actaphilippietac00bonnuoft"
return $root || apputil:resolve($uri)

Deal more gracefully with the case where a image set has been removed but the texts are still there

Right now, this error is thrown:
exerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: app:sortCollection($collectionUri as xs:string) item(). Expected cardinality: exactly one, got 0. [at line 563, column 37, source: /db/apps/lace/modules/app.xql]
In function:
app:sortCollection(xs:string) [563:17:/db/apps/lace/modules/app.xql]
app:sidebyside(node(), map(
), xs:string, xs:integer?) [-1:-1:/db/apps/lace/modules/app.xql]

Test updating behaviour of xars

If I sideload an updated app xar, will it overwite the old one? If I put it on the public repo, will it ask for people to update?

volume-wide update is very slow

The volume-wide replacement is very slow
for these two searches:
let $search_results := doc($documentPath)//xh:span[@Class='ocr_word' and text()=$query]/@data-manually-confirmed
let $search_results2 := doc($documentPath)//xh:span[@Class='ocr_word' and text()=$query]/text()
and these queries:
let $foo := update value $search_results with 'true'
let $foo2 := update replace $search_results2 with $correctedForm
the time is 350 seconds. Most of the drag is in the second of update of the text().
I think this is an eXist-db bug.
Check against future versions of eXist.

Raw content links

The raw content links don't give raw data. "raw" and "selected" seem to do the same thing.

test sideloading

If I sideload a text fill, will it automatically upload the image file from the public repo? Will it clobber the same id if it's already installed?

Generate metadata in hocr corresponding to svg zoning bounding boxes

These would be <div @data-start-primary-text="true" or @data-start-zone="primary-text" or just @id="primary_text_zone1">. Gotta think that through. Is there any advantage to doing this dynamically as we draw the rectangles? Currently, I think not and would do this just before compiling to the unedited TEI. Well, the obvious case is that we could use this to inspect the page#s.

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.