Comments (3)
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.
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.
Done. The new release is online.
from text-fabric.
Related Issues (20)
- Feature comparison for TF-Query HOT 7
- Comments starting after whitespace HOT 1
- Update Software Heritage badge HOT 1
- Add option to manually upload new features HOT 5
- Over-Zealous TF Rate Limit Warning HOT 7
- feature request: plain text show HOT 3
- Better economy with GitHub API requests HOT 2
- bug in defining relations between elements HOT 12
- combining /with/ and relation operators .lex=lex. is not possible HOT 6
- bug in Recorder.read() HOT 2
- Use of Python 3.8 method breaks backwards compatibility by using removeprefix() HOT 7
- Bug in fabric.py when trying to load Tischendorf text HOT 4
- Bug in loading text-fabric 9.0 HOT 4
- bug with the relational operators `<` and `>` when doing feature comparisons `.f<g.` or `.f>g.` HOT 1
- No more app-xxx repositories HOT 4
- EOF error when loading app with Python 3.11 HOT 2
- Undeclared dependency on pandas HOT 3
- internal server error in NER browser when deleting an annotation set HOT 2
- Issue with api HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-fabric.