HeidelTime / heideltime

A multilingual, cross-domain temporal tagger developed at the Database Systems Research Group at Heidelberg University.
GNU General Public License v3.0
342 stars 67 forks source link

Read input text from stdin #90

Open narnold-cl opened 2 years ago

narnold-cl commented 2 years ago

Hello again,

in a dynamic setting (e.g. using Python to invoke a HeidelTime-subprocess), HeidelTime forces you to temporarily write your text to disk. As it already supports stdout, it would be nice, if it could also read the input text from stdin.

Again, if there is no one involved in active development, it would be nice, if you can point out, where in code such a change needs to be made, or what overall design decisions need to be considered for someone unfamiliar with the codebase to implement this.

We might be able to work on a pull request, although there are a lot of open PRs already and they don't seem to be actively discussed.