Ask HN: Any open source text editors with word tagging?
I am looking for a text editor where users can tag words with meta data.
"Jhon doe started the car." -> John doe <person>, car <vehicle>
I want these tags to be programmable/exportable so that when we process the document, I can process based on custom rules. Eg. Different colours for person, objects, location , Show summary in the side panel etc .
6 comments
[ 3.8 ms ] story [ 24.9 ms ] thread<person>Jhon doe</person> started the <vehicle>car</vehicle>.
This is just my 2 cents, I have no idea what your intended application is.
Quite a few NLP annotation systems are out there
https://prodi.gy/
https://brat.nlplab.org/
https://doccano.herokuapp.com/
Personally I think I'd go straight to CKEditor and things like span tags, as 1) you can effectively tag words with metadata, 2) you can process it however you'd like, and 3) it's simple to add your own buttons or plugins for additional conveniences.
Using a CMS and basic web tooling you could build a simple version of what you're looking for pretty fast I'd guess.