alpheios-project / arethusa

Arethusa: Annotation Environment
http://sosol.perseids.org/tools/arethusa
MIT License
34 stars 26 forks source link

api to find word and context in a specified sentence #791

Closed balmas closed 4 years ago

balmas commented 4 years ago

For the Alpheios integration, we would like to allow users to link a text to a tree at a sentence level rather than aligning each word. To support this, we would like the Arethusa api to support a request which, given a sentence identifier, a word, and the surrounding context of that word, find the most likely match for the requested word within the given sentence, and return the corresponding treebank word id or ids.