Giter VIP home page Giter VIP logo

Comments (3)

dirkroorda avatar dirkroorda commented on August 26, 2024

So you want the words in the clause to be included in the result, but not the clause itself.
That is not possible as matters stand now. Your work around will not work, because you cannot refer from outside a quantifer to names defined inside a quantifier.

If you issue the query in a program and catch the results, it is trivial to remove the clause node from the result tuple.

What you want can be achieved best by a syntactical addition to the query language. A sign that indicates: do not include the node corresponding to this object in the search results.
For example, a / directly following the clause.

That is not too difficult. But which use case will justify the effort? You get better displays in the browser and in Jupyter notebooks, and that might be important.

from text-fabric.

camilstaps avatar camilstaps commented on August 26, 2024

Thanks for the clarification about the names in quantifiers; that makes sense as well.

Indeed, I was working with the browser when I ran into this. I wanted to make sure that the words were in the same clause, but then having both verse and clause displayed in each result is a bit much. You are right that from a program this doesn't really matter.

from text-fabric.

dirkroorda avatar dirkroorda commented on August 26, 2024

Done. The new release is online.

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.