Comments (5)
Yes, those graphs look very nice and useful.
And you're right that I currently consider it out of scope, but I'll think about it as I reevaluate the role Wn serves (for instance, I'm adding the describe() function and wn.validate module). One thing I've thought about is adding some web API endpoints for relation paths so that a web frontend could construct the visualizations (e.g., in SVG) using the data in the response.
from wn.
An web interface would be nice! Is there any general documentation about the architecture of the lib and plans?
from wn.
On the other hand, another project for a web interface can be a wrapper to wn
from wn.
@arademaker The idea is that the web client would be a separate project, similar to how delphin-viz works on top of the web API provided by other tools.
On the topic of scope creep, the existing wn.web
module is already a bit excessive, and it could easily be spun out into a separate package. If we start having multiple related codebases, it might make sense to create a GitHub organization for them, or maybe put them under globalwordnet or something.
edit: note that the above paragraph is just some thoughts, and not concrete plans
from wn.
After talking with @fcbond, I think we'll stick with with a monolithic model for now and spin out modules later if we need a leaner package. So I think this could be included somehow in Wn. To that end, some notes:
- As it is not core functionality, if it requires new dependencies, they should be part of an installation extra (AKA optional dependencies).
- It should work for Windows, macOS, and Linux.
- It would be nice if this works with the
wn.web
package somehow. Whether that's delivering the raw data through a web endpoint to some Javascript-based renderer or directly serving SVG is undecided. - At the same time, it would be great if there were an option to output a local file that could be used in LaTeX/Word/etc. documents.
from wn.
Related Issues (20)
- Document "default mode" queries
- Missing Spanish definitions HOT 3
- antonyms in languages other than German and English HOT 5
- Support for PTB and Universal POS tags HOT 6
- If you create an entry with an ILIDefinition, but ill.id='' you lose the definition HOT 2
- Tracing back 'inferred' synsets to their reference lexicons HOT 3
- Stumped by multilingual relation traversal HOT 7
- Synset.relations() for some lexicons uses synset id as relation name
- Update Python versions HOT 2
- Is there any mapping between different English wordnet? HOT 4
- synset.relations fails with a KeyError HOT 3
- Merged synsets are lost in translation HOT 8
- SQLite objects created in a thread can only be used in that same thread HOT 3
- Add OEWN 2022 to index HOT 2
- Addition to NLTK migration guide w.r.t. offsets HOT 4
- Add a `conda` install option for `wn` on conda-forge channel HOT 5
- Allow contributors to self-assign issues with GitHub workflow HOT 3
- pyproject.toml: Fix ruff rules in tool.ruff.ignore
- Update Python versions, 3.8 to 3.12
- Add OEWN 2023 to index
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 wn.