Giter VIP home page Giter VIP logo

clauseformatter's People

Contributors

camilstaps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clauseformatter's Issues

Toggle display of verses

If one could click on a verse number to show/hide it, one could have a smaller viewport and updates could be done quicker. Now, the interface tends to get slow for long texts.

Wrong word is outlined when verses are hidden

Here, the word in v. 9 is actually selected, but the word in v. 15 gets outlined:

enter image description here

Also, when moving with the arrow keys it should not be possible to end up in a folded block; the verses 3-8 (here) should be jumped over.

Output to plain TeX

It would be nice to get a plain TeX output instead of having to download a zip.

Web storage

Use web storage to store the translation status. This should be indexed by passage, and there should be a dropdown in the header with the available passages.

Diacritical signs for continuation of a clause

It should be possible to do the following:

a the people
b     that was in Egypt
a ÷ was suppressed

Where clause numbering goes back to to a and the diacritical sign ÷ is added.

A use case is Ex. 3:5de.

Highlight same word

Would be nice to be able to highlight all occurrences of a word in the text. Even better would be if this would automatically recognise and strip prefixes, suffixes, vowels, dageshes and diacritical signs such that in Gn. 1:1-2 for example, הָאָֽרֶץ and וְהָאָ֗רֶץ are grouped together.

Allow colouring of letters

Currently, it is only possible to colour whole words. When the subject is hidden in the verb, we would want to colour the pre/suffix differently.

Translation option

It would be nice if there was a possibility to translate the text when it is formatted in clauses:

  • Add input fields under the words (should be possible to show/hide them)
  • Allow three different exports:
    • Only clauses (like now)
    • Clauses with translation (can this be done with expex?)
    • Only (interlinear) translation (can be done with expex)

This probably means that the export interface has to be redone. Perhaps make one export button, and then allow the user to choose things.

Things to think about for in the future:

  • Possibility to add a freer translation as well, instead of per-word translations
  • Options to fetch the interlinear translation from e.g. biblehub.com and pre-fill the inputs.

Better splits; don't count everything as a word

At the moment, we only split the text on spaces, but we should also split on ־ and ׃ and possibly more signs.

Furthermore, some things should not be considered a word:

  • פ and ס at the end of a verse
  • ׀ (still unclear to me what this actually means)

And then ketiv-qere should be handled better, e.g. (Ps. 119:161) [וּמִדְּבָרֶיךָ כ] (וּ֝מִדְּבָרְךָ֗ ק) breaks as four words, of which ] and ) are part. The characters [, ], (, ) and כ and ק in this context should not be considered part of a word.

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.