elit
elit copied to clipboard
elit parse: could we have an option for a single input instead of a loop?
Hi, thanks for this project! It made so easy to tokenize a sentence. I am pretty new to NLP and this is making it very accessible to me :)
I was hoping I could use this in a bash script. I would like to pass a string and get a JSON with your analyses out. It could be done by adding another args.task like 'parse-one' here But maybe that is not your vision for this? (I saw there is an API way to query elit, but I was hoping to go Unix-y)
Thanks again for sharing this!
Hi, thanks for the suggestion. I think when stdin reaches an EOF (either the end of file or a CTRL+D), the loop will break.