- Please install NodeJS 14.16.0. See Installation Guide
Under "frontend" directory:
npm install
npm run serve
npm run build
npm run test:unit
npm run lint
store packages downloaded by npm.
lean more about public
folder here
actual code for the frontend. more structure details here
unit testing code
environmental variable
configuration for ESLint
files should not be pushed to git listed here
configuration for Babel
configuration for Jest
required package for the frontend
- one document can have multiple different label.
- no duplicated label allowed for same document.
- one chunk (a word or sentence) can only be annotated by one label.
- one label can be applied to multiple chunks.
- In one relation, subject and object can not be the same chunk.
- Different relation are not related. So one chunk can be the object in relation A, it can also be the object in relation B. It can also be subject in relation C.
- no duplication relation (subject, object and label are all the same) is allowed
- user should select a template from the dropdown and fill in the blank.
- no duplicate explanation is allowed.
- one trigger explanation group is one row of explanation.
- one trigger is one selection of chunk.
- one trigger explanation group can have multiple trigger selection.
- no duplicate trigger is allowed within one trigger explanation group.
- Within two different trigger explanation group, the same chunk can be selected more than once.