Comments (3)
This sounds like what DefaultResourceDataBroker
already does, only that the reference to it is currently static, which is not so nice.
from languagetool.
That's one of the problems. The other one is that the ResourceDataBroker
interface provides methods to get paths and URLs. I haven't checked in what context the paths are used, but URLs might be problematic. It's possible to create custom URLStreamHandlers (that resolve URLs), so it's possible to have an URL using a custom protocol that points to some very specific location, e.g. a database object. I barely remember some problems in the Weblogic application server when trying to use custom URLStreamHandlers, but can't remember what the problem was.
Long story short:
I would like to have the interface return nothing but InputStream
s. But I haven't analyzed the code yet, so I don't know if it's even possible to reduce the interface that much (beside a slight problem with backward compatibility).
from languagetool.
I'm closing this, as there has been no work done for more than two years.
from languagetool.
Related Issues (20)
- Global spelling doesn't work 100% in LibreOffice? — 2024-04-03 HOT 11
- A bug in parsing dates in `UkrainianWordTokenizer` HOT 3
- [en] False warning EN_UNPAIRED_QUOTES
- Add “sanitorium” HOT 1
- Add Portuguese words
- [pt] “Elevar a escrita” — rule set - 2024-04-06 HOT 2
- [pt] Main suggestion not appearing HOT 8
- Use latest version of Indriya
- Weird behaviour with LT 6.4 and pipelinePrewarming=true
- [PT] “Etc.” and comma HOT 1
- Abbreviations issue
- Please add words
- Libreoffice addon doesn't work, clicking buttons does nothing HOT 2
- LT is not enabled on the GitHub web editor HOT 2
- [pt] Rule for "don't separate subject and verb with a comma" HOT 3
- [ca] bug in the last version of the add-on with l·l HOT 1
- [ca] deixar de marcar «baixar» com a no pronominal
- [pt] Number of examples in antipatterns HOT 2
- [DE] Fehlalarm mit "Mutter Theresa" HOT 4
- Potential replacements for fasttext?
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 languagetool.