Giter VIP home page Giter VIP logo

Comments (7)

dirkroorda avatar dirkroorda commented on August 26, 2024 1

What I currently do is: objects outside the enclosing verse: display them as plain() would display them. Just a short identification.
Only objects of a level lower than the verse will be shown in full.

Very understandable request that the user determines the nature of the container within which pretty reigns and without which plain reigns.

I have already attempted to do this, but it turns out to be more work than expected. Two factors:

  • it should work both in condensed and uncondensed mode
  • the complexity of dealing with phrase and phrase atoms (idem for clauses and sentences) is biting
    back, and what about half verses.
  • then I also want to have this for cuneiform, in a way that I do not duplicate too much code.

In short, this takes a fair bit of refactoring. I'll see when I can fit it in.

from text-fabric.

codykingham avatar codykingham commented on August 26, 2024

The use case for this request is for reviewing lots of datasets. I constantly have to scroll up or down on the screen until I see my highlighted result. I would like to move through datasets faster and see the relevant result instantly.

from text-fabric.

dirkroorda avatar dirkroorda commented on August 26, 2024

Started working on this.

Pragmatic solution for objects that are not completely contained in their container objects, such as a sentence that spans verses: I put each object in the container that contains their first slot and the container that contains their last slot. Each container cuts of the material of subobjects that stick out of the container. This will not solve cases where a sentence spans three verses, or very irregular objects.

from text-fabric.

dirkroorda avatar dirkroorda commented on August 26, 2024

An other effect of condensing: objects that are not contained in any container will not show up in condensed results.

from text-fabric.

codykingham avatar codykingham commented on August 26, 2024

What would be an example of an object like this?

from text-fabric.

dirkroorda avatar dirkroorda commented on August 26, 2024

If your search for

verse
  sentence
    phrase function=Pred

and then condense to clauses, the verse and the sentence are thrown away from the condensed results.

And what should happen if you condense to lex, or if your search results condense lex items?

from text-fabric.

dirkroorda avatar dirkroorda commented on August 26, 2024

It's done, but I leave the issue open for if the exact functionality needs to be tweaked

from text-fabric.

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.