annotations - normativeai/frontend GitHub Wiki
Requirements for the annotations component
Given a free text, the user should be able to
- annotate a specific sentence, this creates a new formula
- within the sentence, annotate a certain part
- the part can be annotated with terms, operators and connectives
- Terms generate a new name and apply it to the specified variables. The annotator should allow here to
- either choose a name from a list or create a new one
- specify free variables or arguments
- Operators and connectives are always chosen from a list of supported operators and connectives
For example,
A user should be able to annotate a text in the legislation while using the same name across sentences (by selecting it afterwards from a list). The user then write free text for a query (which will be the description?) and annotate it with selections of terms and connectives, etc. all from a list.